simplebotsjs
v1.3.5
Published
Npm package for users who are not known with json. Use npm i simplebotsjs to install
Downloads
7
Maintainers
Readme
SimpleBotsJs, build your bot fast!
TypeScript / NodeJS / Discord.js Usage:
This is how your index.js should look like:
const { ready, msg, ping } = require("simplebotsjs");
const discord = require("discord.js");
const fs = require("fs");
const ms = require("ms")
const bot = new discord.Client();
bot.on("ready", () => {
ready();
});
bot.on('message', message => {
if (message.content === 'ping') {
message.reply('Pong');
ping();
}
});
bot.on('message', message => {
msg();
});
bot.login('BOT TOKEN HERE');
Warning!
This package HAS copyright by Mike V