diff --git a/functions/timer.py b/functions/timer.py index 0380ad9..d301e09 100644 --- a/functions/timer.py +++ b/functions/timer.py @@ -21,7 +21,7 @@ async def on_message(self, message): ":cloud:", ) tenmin_tuple = ":boom:" - channel = bot.get_guild(message.reference.guild_id).get_channel( + channel = self.bot.get_guild(message.reference.guild_id).get_channel( message.reference.channel_id ) usercommand = await channel.fetch_message(message.reference.message_id)