aboutsummaryrefslogtreecommitdiff
path: root/server/bot/src/main.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-12 16:09:40 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-12 16:09:40 +0200
commit7aa0f026f6f0f72efc5513688ecec21a1e43ea74 (patch)
tree12a1ed96f74725ba96a7b2514cf556a2b6d05770 /server/bot/src/main.rs
parentada25eeb227b201b1519ff46a888476a832256e6 (diff)
downloadhurrycurry-7aa0f026f6f0f72efc5513688ecec21a1e43ea74.tar
hurrycurry-7aa0f026f6f0f72efc5513688ecec21a1e43ea74.tar.bz2
hurrycurry-7aa0f026f6f0f72efc5513688ecec21a1e43ea74.tar.zst
bot: generalize simple and add waiter
Diffstat (limited to 'server/bot/src/main.rs')
-rw-r--r--server/bot/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/bot/src/main.rs b/server/bot/src/main.rs
index 08d17d19..1ebe0b88 100644
--- a/server/bot/src/main.rs
+++ b/server/bot/src/main.rs
@@ -58,6 +58,7 @@ fn main() -> Result<()> {
match algo.as_str() {
"test" => Box::new(algos::Test::default()),
"simple" => Box::new(algos::Simple::default()),
+ "waiter" => Box::new(algos::Waiter::default()),
_ => panic!("unknown algo {algo:?}"),
}
};