This is an Discord bot written in Rust. It is mainly for personal usage.
If you want to use it for some reason go see the installation instructions.
- Rust nightly v1.20 (may work with stable. not tested)
- All rust build dependencys (they are almost all downloaded by cargo)
- At least OpenSSL 1.1.0f
$ git clone https://github.com/HeapUnderfl0w/rust_remover.git
$ cd rust_remover
$ cargo build
To use Cleverbot append the flag --features "cleverbot"
to the cargo build
command.
If cleverbot is enabled, the CLEVERBOT_TOKEN
enviroment variable is required.
> git clone https://github.com/HeapUnderfl0w/rust_remover.git
> cd rust_remover
> cargo build --no-default-features
The --no-default-features
flag is used to disable the psutil
crate which failes to build under Windows.
Enviroment variables
Name | Description | Required | Default |
---|---|---|---|
DISCORD_TOKEN |
Your Discord app token | YES | |
CLEVERBOT_TOKEN |
Your cleverbot API token | YES with cleverbot feature |
|
RUST_REMOVER_LOG4RS |
Path to the Logging configuration file. | NO | log4rs.yaml ¹ |
¹) On the yaml format & usage see the log4rs documentation
I work on this project for fun (aka shits & giggles).
- Updates
- I (try) to answer as many questions as i can
- Solved issues
- Great Proficiency with either Git or Rust
- Good "commits" (no multifile commits, etc.)
If you have questions or want to contribute to the bot feel free to ask !