diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-24 00:38:16 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-24 00:38:46 +0200 |
commit | e00492214438711c3af7fcad75505539d41e2285 (patch) | |
tree | faf8d44a5282846b537ed347b2f839607aa9df89 /server/src/commands.rs | |
parent | f1f0ae07172c24deb5815f8ee7926018db6d7dbc (diff) | |
download | hurrycurry-e00492214438711c3af7fcad75505539d41e2285.tar hurrycurry-e00492214438711c3af7fcad75505539d41e2285.tar.bz2 hurrycurry-e00492214438711c3af7fcad75505539d41e2285.tar.zst |
pinned orders
Diffstat (limited to 'server/src/commands.rs')
-rw-r--r-- | server/src/commands.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/server/src/commands.rs b/server/src/commands.rs index c03c8bcd..6fd95eac 100644 --- a/server/src/commands.rs +++ b/server/src/commands.rs @@ -23,7 +23,7 @@ use crate::{ use anyhow::{anyhow, bail, Result}; use clap::{Parser, ValueEnum}; use hurrycurry_bot::algos::ALGO_CONSTRUCTORS; -use hurrycurry_protocol::{Menu, Message, MessageTimeout, PacketC, PlayerID}; +use hurrycurry_protocol::{Menu, Message, PacketC, PlayerID}; use std::{fmt::Write, time::Duration}; #[derive(Parser)] @@ -294,10 +294,7 @@ impl Server { id: message_id, params: arguments.into_iter().map(|c| Message::Text(c)).collect(), }), - timeout: Some(MessageTimeout { - initial: 5., - remaining: 5., - }), + timeout: None, }); } } |