Skip to content

tmokenc/tomoka-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

153 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tomoka rs

A buggy Discord bot written in Rust
This is a personal project for my own habit.
There are a lot of typo, grammar errors, bad naming, redundant code, etc...
And MOST of the functionalities is for my own server, eg. RGB.

Installation

Since it is written purely in Rust, you have to install Rust with version >1.39
If you are running Linux, it will be as easy as

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Then clone this repo, navigate into it

git clone https://gitlab.com/tmokenc/tomoka-rs
cd tomoka-rs

And then build the bot

cargo build --release

You may see some warning about unused variable stuff due to the incomplete radio command

The whole process should be

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://gitlab.com/tmokenc/tomoka-rs
cd tomoka-rs
cargo build --release

Usage

Add your bot token to the environment

export DISCORD_TOKEN="your-extremely-secret-token"

Then run it

cargo run --release

Todo

  • Music
    • Youtube playblack
    • Radio
  • Games
    • TouhouMusicQuest
    • TicTacToe
    • Chess
    • Tetris
    • PokemonBattle (maybe it never done though)
  • Pokemon
    • Smogon strategy
    • Pokemon info
    • Ability
    • Nature
    • Move
    • Combine all of them into a single command
  • Utility
    • Time
      • Display time in multiple timezone
      • Configurable timezones
      • Lunar time
    • E-hentai
      • Gallery information
      • Read
      • Downloader
    • Encode
    • Decode
  • Better guild option
  • Better documentation

Support

Feel free to give me a DM on discord @tmokenc#0001, a guy with extremely cute Kanna avatar.

Contributing

Pull requests are welcome. Bugs fix and new commands are extremely welcome. But please don't change the exist functionalities

License

MIT

About

A discord bot written in Rust with a bunch of useless stuff

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages