Don't crosspost to 日英

main
Elnu 1 year ago
parent ed5d7620ae
commit 2bc8049fa2

@ -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;
}

Loading…
Cancel
Save