Skip to content

A simple Discord bot built using Rust, designed to interact with the Discord API and handle various commands and events. The bot is customizable and can be extended with additional functionalities.

Notifications You must be signed in to change notification settings

RohitP2005/Rust-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rust-DiscordBot

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.

Features

  • Integration with the Discord API
  • Handles commands and events
  • Customizable configurations
  • Can be extended with additional features and functionalities

Installation

Prerequisites

Before you start, make sure you have the following installed:

Steps to set up the project

  1. Clone the repository:

    git clone https://github.com/RohitP2005/Rust-DiscordBot.git
  2. Navigate to the project directory:

    cd Rust-DiscordBot
  3. Install dependencies:

    cargo build
  4. Set up the Secrets.toml file with your Discord bot token and other configurations:

    [discord]
    token = "YOUR_DISCORD_BOT_TOKEN"
  5. Run the bot:

    cargo run

Usage

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.

Example Commands

  • !ping: Returns a pong message
  • !help: Lists all available commands

About

A simple Discord bot built using Rust, designed to interact with the Discord API and handle various commands and events. The bot is customizable and can be extended with additional functionalities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages