@imaentity/selfjs

3.0.0 • Public • Published

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);
    });
}());

Readme

Keywords

Package Sidebar

Install

npm i @imaentity/selfjs

Weekly Downloads

3

Version

3.0.0

License

ISC

Unpacked Size

31.9 kB

Total Files

5

Last publish

Collaborators

  • imaentity