Merge remote-tracking branch 'origin/next' into next

# Conflicts:
#	Cargo.lock
This commit is contained in:
2022-02-01 23:04:44 +00:00
7 changed files with 613 additions and 11 deletions

View File

@ -14,6 +14,11 @@ use regex::Regex;
use serenity::model::prelude::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"),