diff options
| -rw-r--r-- | bot/cogs/antispam.py | 2 | ||||
| -rw-r--r-- | bot/constants.py | 2 | ||||
| -rw-r--r-- | config-default.yml | 3 | 
3 files changed, 3 insertions, 4 deletions
| diff --git a/bot/cogs/antispam.py b/bot/cogs/antispam.py index 80f82ab91..bbc1a5359 100644 --- a/bot/cogs/antispam.py +++ b/bot/cogs/antispam.py @@ -61,7 +61,7 @@ class DeletionContext:                  self.messages[message.id] = message                  # Re-upload attachments -                destination = message.guild.get_channel(GuildConfig.attachment_repost) +                destination = message.guild.get_channel(Channels.attachment_log)                  urls = await send_attachments(message, destination, link_large=False)                  self.attachments.append(urls) diff --git a/bot/constants.py b/bot/constants.py index 9a4522262..2050359cd 100644 --- a/bot/constants.py +++ b/bot/constants.py @@ -347,6 +347,7 @@ class Channels(metaclass=YAMLGetter):      admins: int      admin_spam: int      announcements: int +    attachment_repost: int      big_brother_logs: int      bot: int      checkpoint_test: int @@ -417,7 +418,6 @@ class Guild(metaclass=YAMLGetter):      id: int      ignored: List[int]      staff_channels: List[int] -    attachment_repost: int  class Keys(metaclass=YAMLGetter): diff --git a/config-default.yml b/config-default.yml index 0ecf88702..5e85c897d 100644 --- a/config-default.yml +++ b/config-default.yml @@ -138,8 +138,7 @@ guild:          verification:                     352442727016693763      staff_channels: [*ADMINS, *ADMIN_SPAM, *MOD_SPAM, *MODS, *HELPERS, *ORGANISATION, *DEFCON] -    ignored: [*ADMINS, *MESSAGE_LOG, *MODLOG] -    attachment_repost: *ATTCH_LOG +    ignored: [*ADMINS, *MESSAGE_LOG, *MODLOG, *ATTCH_LOG]      roles:          admin:             &ADMIN_ROLE      267628507062992896 | 
