A simple Discord bot built using Rust that interacts with the Discord API and performs various tasks. The bot can be customized and extended to suit specific needs.
- Integration with the Discord API
- Handles commands and events
- Customizable configurations
- Can be extended with additional features and functionalities
Before you start, make sure you have the following installed:
- Rust (version 1.56 or higher)
-
Clone the repository:
git clone https://github.com/RohitP2005/Rust-DiscordBot.git
-
Navigate to the project directory:
cd Rust-DiscordBot
-
Install dependencies:
cargo build
-
Set up the
Secrets.toml
file with your Discord bot token and other configurations:[discord] token = "YOUR_DISCORD_BOT_TOKEN"
-
Run the bot:
cargo run
After running the bot, it will connect to Discord using the provided bot token. You can then use various commands defined in the bot to interact with your server.
!ping
: Returns a pong message!help
: Lists all available commands