discord-short-api
v1.0.1
Published
```js (async () => { const { DiscordApi } = require('discord-api');
Downloads
1
Readme
DiscordApi
(async () => {
const { DiscordApi } = require('discord-api');
const d = new DiscordApi('[email protected]', 'AwesomeP@ssowrd');
await d.auth();
const msgs = 'Every word as one message >:) yeah, we\'ve to shaffle >:)'.split(' ').shaffle();
const t = setInterval(() => {
const msg = msgs.pop();
if (!msg) return clearInterval(t);
d.sendMessageToChannel(channelId, msg);
}, 5000);
})();
Exmaples
If you want to try something with this lib, check exmaples
If you pulled github repo, create .env file, add your meta, and try any example
Docs?
This lib is simply as can. Just read the code
TODO
- add more methods for discord (maybe voice?)
- find way for fix auth error (help me 😭)