diff --git a/src/main/cogs/management.py b/src/main/cogs/management.py index a8ea12e..7ce42f7 100644 --- a/src/main/cogs/management.py +++ b/src/main/cogs/management.py @@ -156,7 +156,7 @@ class Administration: try: async for message in channel.history(): - if not msg.pinned: + if not message.pinned: await self.queue.put(message) while not self.bot.is_closed():