Don't crosspost to 日英
This commit is contained in:
parent
ed5d7620ae
commit
2bc8049fa2
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue