remove reactions from messages older than n days

This commit is contained in:
seth 2024-04-02 19:23:15 -04:00
parent a8d6a2b8d7
commit 94b12a1069
No known key found for this signature in database
GPG key ID: D31BD0D494BBEE86
9 changed files with 86 additions and 18 deletions

View file

@ -37,7 +37,7 @@ async fn setup(
_: &serenity::Ready,
framework: &Framework<Data, Error>,
) -> Result<Data, Error> {
let config = Config::new_from_env();
let config = Config::from_env()?;
let storage = if let Some(url) = &config.bot.redis_url {
Some(Storage::from_url(url)?)