Skip to content

The bot is designed to provide users with entertaining content through slash commands, offering features such as sending random cat images and NSFW content in dm.

License

Notifications You must be signed in to change notification settings

GogaNotClown/greg_bot

Repository files navigation

greg_bot RU

The bot is designed to provide users with entertaining content through slash commands, offering features such as sending random cat images and NSFW content in dm.

Project Preview

Table of Contents

Installation

To use this project, follow these steps:

  1. Clone the Repository: Ensure that Git is installed on your system.

    git clone https://github.com/GogaNotClown/greg_bot.git
    cd greg_bot
  2. Download NPM packages: Ensure that Node.js is installed on your system.

    npm install
  3. Start the Bot: To activate the bot, run the following command. Before executing, ensure you have inserted your bot token, client ID, and guild ID in the .env file.

    node index.js

Config

The configuration for this bot is stored in the .env file, where you need to set up the following environment variables:

DISCORD_TOKEN: Your Discord bot token.
CLIENT_ID: Your Discord bot client ID.
GUILD_ID: Your Discord server ID.

Important

To add your Discord bot to your server, please follow the steps outlined below. This process is crucial because the bot utilizes the latest version of discord.js and implements slash commands, thus requiring a different approach to inviting it:

  1. Intents: Once you've created your Discord Bot on the Discord Developer Portal, navigate to the Bot tab. From there, toggle on the PRESENCE, SERVER MEMBERS, and MESSAGE CONTENT intents. Enabling these intents allows your Discord bot to respond to slash commands effectively.

    Intents Screen

  2. OAuth2 Next, navigate to the OAuth2 tab and select the checkboxes labeled bot and applications.commands in the OAuth2 URL Generator (scopes) section. Then, in the OAuth2 URL Generator (bot permissions) section, check the Administrator permission. Ensure that the Integration type is set to "Guild Install," and you'll find the bot link below.

    OAuth2 Screen

Technologies Used

Project Status

Completed

About

The bot is designed to provide users with entertaining content through slash commands, offering features such as sending random cat images and NSFW content in dm.

Topics

Resources

License

Stars

Watchers

Forks