A simple package that allows you to log in a bot and join a voice channel and set status.
To install this package, run the command in your terminal/shell:
npm install discord-login-bot
To use this package, create a new instance of the discordBot class and call the login method to log in to Discord.
const { discordBot, statusType } = require("discord-login-bot");
const bot = new discordBot("YOUR_BOT_TOKEN");
bot.login(); //login
bot.joinVoice("channelId"); // if you want bot join voice channel
bot.setStatus(statusType.online); // add status bot
bot.setActivity("DZAN TESTING NEW VIRSON", "PLAYING"); // add activity bot (support streaming)
Log in to Discord
Joins a voice channel with the provided ID.
channelId
: The ID of the voice channel to join.
Sets the bot's status.
-
status
: The status to set (e.g. "dnd" or "online").
Sets the bot's activity.
-
type
: The type of activity to set (e.g. "PLAYING" or "WATCHING"). -
text
: The text to display in the bot's status.
if You want delete all command from server .guild()
if You want delete all command but global .global()
This package is licensed under the MIT License.
This package uses the discord.js v13 library , chalk library.
discord : dz0.