1.0.9 • Published 6 years ago

labs-api-wrapper v1.0.9

Weekly downloads
2
License
ISC
Repository
github
Last release
6 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

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago