A feature-rich Discord bot created by M.A.K GAMER to supercharge your server with fun, information, management, moderation, and utility commands. Enhance your Discord experience effortlessly!
The chatbot
command activates the chatbot feature in the channel where it is used. The bot engages with users using the Gemini API and resets upon restart.
hug
- Send a virtual hug.kiss
- Blow a kiss.pat
- Pat someone's head.punch
- Give a light-hearted punch.salute
- Show some respect.slap
- Deliver a playful slap.wave
- Wave hello.botinfo
- Get details about the bot.help
- Display all available commands.ping
- Check the bot's response time.uptime
- See how long the bot has been running.hide
- Conceal a specific channel.hideall
- Conceal all channels.lock
- Lock a channel.lockall
- Lock all channels.unhide
- Reveal a concealed channel.unhideall
- Reveal all concealed channels.unlock
- Unlock a channel.unlockall
- Unlock all channels.roleadd
- Assign a role to a user.roleremove
- Remove a role from a user.ban
- Ban a user from the server.kick
- Kick a user from the server.mute
- Mute a member.nickname
- Change a member's nickname.purge
- Delete multiple messages.resetnick
- Reset a member's nickname.unban
- Unban a user.unmute
- Unmute a member.avatar
- Retrieve a user's avatar.banner
- Get a user's banner.chatbot
- Interact with the bot.serverinfo
- Get information about the server.snipe
- Retrieve the last deleted message.userinfo
- Get details about a user.reload
- Reload any command.Clone the repository:
git clone https://github.com/makgamerofficial/discord-js-bot-with-slash-commands.git
cd discord-js-bot-with-slash-commands
Install dependencies:
npm install
Configure config.js
with your details:
token,
clientId,
guildId,
ownerId,
mongo_uri,
giphy_api_key,
gemini_api_key,
Run the bot:
node index.js
Register commands globally:
node deploy-commands.js
Get the Gemini API key from Google AI Studio and the Giphy API key from the Giphy Dashboard.