GravityGuard Bot is designed to improve your Discord server with a variety of engaging features, such as music playing, helpful commands, and more. This bot is a general-purpose bot for enhancing the server experience while leaving server moderation to the GravityGuard Bot.
- Automated welcome messages for new members.
- Rules posting and management.
- Help command to guide users with available bot commands.
- Echo command to repeat user input.
- Music playing with
yt-dlpon a designated music channel. !pingto check the bot's response time to Discord.
To set up the DarkDeity Discord Bot on your server, follow these steps:
-
Clone the repository:
https://github.com/zeroaxiis/GravityGuard.git
-
Navigate to the project directory:
cd GravityGuard-Bot -
Install the required dependencies:
pip install -r requirements.txt
-
Set up environment variables for your Discord bot token. You can either use
.envor set them manually:export DISCORD_TOKEN='your_discord_bot_token'
To start the bot, run:
python bot.pyYou can configure the bot using a config.json file located in the root directory. This file includes settings like welcome messages, rule texts, and more.
Example config.json:
{
"welcome_channel": "welcome",
"rules_channel": "rules",
"help_command": "!help",
"prefix": "!"
}Here is a list of available commands:
!welcome: Sends a welcome message to the designated channel.!rules: Posts the server rules.!help: Displays the help message with a list of available commands.!echo [message]: Repeats the message back to the channel.!hello: Greets the user.!support: Provides support contact information.!contact: Displays contact information for the server admin.!info: Provides information about the server.!ping: Checks the bot's response time to Discord.!clear [number]: Deletes a specified number of messages from a channel.!music [song name]: Plays a song in the music channel (usesyt-dlpfor audio playback).
If you encounter any issues or have questions, please create an issue on the GitHub repository or reach out for support.