We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0df0ca1 commit de84197Copy full SHA for de84197
src/tasks/mod.rs
@@ -20,6 +20,7 @@ mod status_update;
20
21
use anyhow::Result;
22
use async_trait::async_trait;
23
+use lab_attendance::PresenseReport;
24
use serenity::client::Context;
25
use status_update::StatusUpdateCheck;
26
use tokio::time::Duration;
@@ -37,5 +38,5 @@ pub trait Task: Send + Sync {
37
38
/// Analogous to [`crate::commands::get_commands`], every task that is defined
39
/// must be included in the returned vector in order for it to be scheduled.
40
pub fn get_tasks() -> Vec<Box<dyn Task>> {
- vec![Box::new(StatusUpdateCheck)]
41
+ vec![Box::new(StatusUpdateCheck), Box::new(PresenseReport)]
42
}
0 commit comments