blackfoot-makers / bf-discord-rbot

discord bot in Rust
https://blackfoot-makers.github.io/discord-rbot/doc/rbot_discord/index.html
MIT License
9 stars 1 forks source link

Remindme is broken #91

Closed GreeFine closed 2 years ago

GreeFine commented 2 years ago

1 message sent can be too long:

thread 'tokio-runtime-worker' panicked at 'unable to send event: Model(MessageTooLong(1138))', src/features/events.rs:99:14

2 we unwrap the message send process witch is bad because if one request fail the whole remind me feature stops working: Display but don't panic the error, and you could also implement a retry

thread 'tokio-runtime-worker' panicked at 'called `Result::unwrap()` on an `Err` value: JoinError::Panic(Id(23), ...)', src/features/events.rs:102:10