@imaentity/selfjs

3.3.0-b02 • 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

18

Version

3.3.0-b02

License

ISC

Unpacked Size

35.5 kB

Total Files

5

Last publish

Collaborators

  • imaentity