integrate reminder sender

This commit is contained in:
2021-12-20 13:48:18 +00:00
parent 4f9eb58c16
commit e47715917e
8 changed files with 767 additions and 118 deletions

View File

@ -14,6 +14,11 @@ use regex::Regex;
use serenity::http::AttachmentType;
lazy_static! {
pub static ref REMIND_INTERVAL: u64 = env::var("REMIND_INTERVAL")
.map(|inner| inner.parse::<u64>().ok())
.ok()
.flatten()
.unwrap_or(10);
pub static ref DEFAULT_AVATAR: AttachmentType<'static> = (
include_bytes!(concat!(
env!("CARGO_MANIFEST_DIR"),