From 2bc8049fa20521a9fb74f8c2a2a0f0cf21a8443d Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Fri, 25 Aug 2023 17:37:39 -0700 Subject: [PATCH] =?UTF-8?q?Don't=20crosspost=20to=20=E6=97=A5=E8=8B=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/challenge.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/commands/challenge.rs b/src/commands/challenge.rs index 61f8151..17d4607 100644 --- a/src/commands/challenge.rs +++ b/src/commands/challenge.rs @@ -229,6 +229,10 @@ pub async fn submit(ctx: Context<'_>, submission: serenity::Attachment) -> Resul for image in submitted_images.iter() { for (other_guild_id, data) in guild_data.iter() { let here = other_guild_id.eq(&ctx.guild_id().unwrap().as_u64().to_string()); + if !here && other_guild_id.eq("116379774825267202") { + // Don't crosspost to 日英 + continue; + } if !repost_here && here { continue; }