1.0.9 • Published 5 years ago

labs-api-wrapper v1.0.9

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Exemple Usages

Documentation can be found here

Generate a token by using this command : !generateToken on this Discord server.

const wrapper = require('labs-api-wrapper'); // Import the wrapper

const client = new wrapper.Client() // New client

client.login('token') // Login the client with your token.

client.fetchMembers().then(members => {
	console.log(members)
})
// Or asynchronous
(async()=>{
	const members = await client.fetchMembers()
	console.log(members)
})();

// You can also get a specific member/bot

client.getBot("id").then(bot => {
	console.log(bot)
})

// Or asynchronous

(async()=>{
	const bot = await client.getBot("id")
	console.log(bot)
})();
1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago