The latest version number of the client-discord.js module is @0.0.26.
const { startBot, botActivity, client } = require("client-discord.js");
const { ActivityType } = require("discord.js");
// Example "event" usage
client.on("ready", () => {
console.log("The bot named", client.user.username, "has been activated!");
});
// Example activity usage
client.on("ready", () => {
const botStatus = [ "Discord Bot 1", "Discord Bot 2", "Discord Bot 3" ];
botActivity(client, botStatus, ActivityType.Playing); // Playing, Listening, Watching
});
startBot("your-bot-token"); // Your discord bot token!