1
0
Fork 0
mirror of https://github.com/icewind1991/RGBot synced 2026-06-03 20:14:10 +02:00

bumb dependencies

This commit is contained in:
Robin Appelman 2020-07-30 23:31:35 +02:00
commit 415edcbf78
4 changed files with 704 additions and 1100 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
/target
**/*.rs.bk
.env

1849
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -5,10 +5,11 @@ authors = ["Robin Appelman <robin@icewind.nl>"]
edition = "2018"
[dependencies]
serenity = { version = "0.7.1", features = ["cache"] }
serenity = { version = "0.8.6", features = ["cache"] }
regex = { version = "1.3", default-features = false, features = ["std", "perf"] }
err-derive = "0.2"
env_logger = "0.7"
log = "0.4"
contrast = "0.1"
rgb = "0.8"
dotenv = "0.15"

View file

@ -162,6 +162,7 @@ impl EventHandler for Handler {
}
fn main() {
dotenv::dotenv().unwrap();
env_logger::init();
let token = env::var("DISCORD_TOKEN").expect("Expected a token in the environment");