Skip to content

swrhim/rust-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rust-discord-bot

Discord bot written in rust

Setup

Create a .env file in the project root:

DISCORD_TOKEN={from Discord gamerboys-bot app}

Running

RUST_LOG=info cargo run

compiles and starts the server.

To actually enable the bot:

  1. Invite it to the server following these instructions.
  2. Start the server.
  3. Commands are currently prefixed with ~, bot will respond with chat messages. Try ~ping and ~multiply.
  4. ~quit actually shuts down the server so we'll probably need to remove that.

About

Discord bot written in rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages