diff options
| -rw-r--r-- | bot/cogs/help_channels.py | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/bot/cogs/help_channels.py b/bot/cogs/help_channels.py index a6fa05d90..5f59a9d60 100644 --- a/bot/cogs/help_channels.py +++ b/bot/cogs/help_channels.py @@ -390,14 +390,13 @@ class HelpChannels(Scheduler, commands.Cog):          log.info("Cog is ready!")          self.ready.set() -    @staticmethod -    def is_dormant_message(message: t.Optional[discord.Message]) -> bool: +    def is_dormant_message(self, message: t.Optional[discord.Message]) -> bool:          """Return True if the contents of the `message` match `DORMANT_MSG`."""          if not message or not message.embeds:              return False          embed = message.embeds[0] -        return embed.description.strip() == DORMANT_MSG.strip() +        return message.author == self.bot.user and embed.description.strip() == DORMANT_MSG.strip()      async def move_idle_channel(self, channel: discord.TextChannel, has_task: bool = True) -> None:          """ | 
