@imaentity/selfjs
v3.3.0-b02
Published
Breaking Discord's TOS to bot user accounts.
Downloads
36
Readme
SelfJS
Install Command: npm i @imaentity/selfjs
Documentation
View Documentation Here
Bot Example's
Echo Bot:
const discord = require("@imaentity/SelfJS");
const client = new discord.Client();
(async function() {
await client.login("TOKEN");
client.onMessage(async function(msg) {
if(msg.author.bot || msg.author.self) return;
await client.sendMessage(msg.channel_id, msg.content);
});
}());