Skip to content
This repository was archived by the owner on Jan 8, 2025. It is now read-only.
M.A.K GAMER edited this page Oct 23, 2024 · 3 revisions

Discord Bot with Slash Commands

Slasher

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!

Features

Fun Commands Using GIPHY API

Chatbot

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.

Fun Commands πŸŽ‰

  • 🌟 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.

Information Commands πŸ“š

  • πŸ€– 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.

Management Commands πŸ› οΈ

  • 🚫 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.

Moderation Commands βš–οΈ

  • βž• 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.

Utility Commands πŸ› οΈ

  • πŸ‘€ 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.

Developer Commands

  • reload - Reload any command.

Installation

  1. Clone the repository:

    git clone https://github.com/makgamerofficial/discord-js-bot-with-slash-commands.git
    cd discord-js-bot-with-slash-commands
  2. Install dependencies:

    npm install
  3. Configure config.js with your details:

    token,
    clientId,
    guildId,
    ownerId,
    mongo_uri,
    giphy_api_key,
    gemini_api_key,
    
  4. Run the bot:

    node index.js

    Register commands globally:

    node deploy-commands.js
  5. Get the Gemini API key from Google AI Studio and the Giphy API key from the Giphy Dashboard.