From 6b24d5ffe566c767763d6b80851a0a7b2bb57917 Mon Sep 17 00:00:00 2001 From: Stachelbeere1248 Date: Fri, 21 Jun 2024 07:43:49 +0200 Subject: [PATCH] prison lfg --- .gitignore | 1 - src/commands/lfg.rs | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index a7a10b1..ea8c4bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ /target -/Secrets.toml diff --git a/src/commands/lfg.rs b/src/commands/lfg.rs index 75d09c1..98cf138 100644 --- a/src/commands/lfg.rs +++ b/src/commands/lfg.rs @@ -17,6 +17,8 @@ pub enum Map { BadBlood, #[name = "Alien Arcadium"] AlienArcadium, + #[name = "Prison"] + Prison, } #[derive(Debug, poise::ChoiceParameter)] pub enum Mode { @@ -85,6 +87,7 @@ pub(crate) async fn lfg( DeadEnd => 1005837123921915914, BadBlood => 1140190470698438666, AlienArcadium => 1105917281898336356, + Prison => 1253440747454333009, }, Speedrun => 1005836989595144243, Challenge => 1005836864680361994, @@ -92,8 +95,7 @@ pub(crate) async fn lfg( //Tournament => 1210508966036242445, }; let difficulty: Difficulty = match map { - DeadEnd => difficulty.unwrap_or(Normal), - BadBlood => difficulty.unwrap_or(Normal), + DeadEnd | BadBlood | Prison => difficulty.unwrap_or(Normal), AlienArcadium => Normal, };