diff --git a/payphone/cogs/calls/cog.py b/payphone/cogs/calls/cog.py index 4b44eab..e445afe 100644 --- a/payphone/cogs/calls/cog.py +++ b/payphone/cogs/calls/cog.py @@ -198,6 +198,9 @@ class Calls(base.Cog): Handle messages in calls. """ + if not isinstance(message.channel, (discord.channel.TextChannel)): + return + ctx = await self.bot.get_context(message) if message.author.bot or ctx.valid: