|
|
@ -229,6 +229,10 @@ pub async fn submit(ctx: Context<'_>, submission: serenity::Attachment) -> Resul
|
|
|
|
for image in submitted_images.iter() {
|
|
|
|
for image in submitted_images.iter() {
|
|
|
|
for (other_guild_id, data) in guild_data.iter() {
|
|
|
|
for (other_guild_id, data) in guild_data.iter() {
|
|
|
|
let here = other_guild_id.eq(&ctx.guild_id().unwrap().as_u64().to_string());
|
|
|
|
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 {
|
|
|
|
if !repost_here && here {
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
}
|
|
|
|