hehehe
Some checks failed
Rust / check (push) Failing after 3m48s

This commit is contained in:
August 2026-05-26 18:42:38 -04:00
parent 2aa027159e
commit 603ea0ab66
Signed by: shibedrill
SSH Key Fingerprint: SHA256:M0m3JW1s38BgO2t0fG146Yxd9OJ2IOqkvCAsuRHQ6Pw
3 changed files with 7 additions and 2 deletions

View File

@ -197,10 +197,11 @@ pub async fn game(ctx: Context<'_>) -> Result<(), Error> {
if let Some(react) = collector.await { if let Some(react) = collector.await {
let reacting_user = react.user(ctx.http()).await?; let reacting_user = react.user(ctx.http()).await?;
ctx.say(format!("{} was first to react! yay!", reacting_user)).await?; ctx.say(format!("{} was first to react! yay!", reacting_user))
.await?;
} else { } else {
ctx.say("Nobody reacted. Game over </3").await?; ctx.say("Nobody reacted. Game over </3").await?;
} }
Ok(()) Ok(())
} }

2
src/event_handlers.rs Normal file
View File

@ -0,0 +1,2 @@
#[allow(dead_code)]
const SLOP_SCOUNDREL_ROLE_ID: u64 = 1508961172223951078;

View File

@ -40,6 +40,8 @@ use crate::command::{
util::*, util::*,
}; };
mod event_handlers;
// Path at which our settings are stored (currently PWD) // Path at which our settings are stored (currently PWD)
//const SETTINGS_PATH: &str = "settings.json"; //const SETTINGS_PATH: &str = "settings.json";