diff --git a/payphone/cogs/calls/cog.py b/payphone/cogs/calls/cog.py index a45ba4d..955e3e3 100644 --- a/payphone/cogs/calls/cog.py +++ b/payphone/cogs/calls/cog.py @@ -240,7 +240,7 @@ class Calls(base.Cog): if ctx.author.created_at > datetime.now(timezone.utc) - timedelta( days=exceptions.AccountTooYoungError.days ): - raise exceptions.AccountTooYoungError() + return if not isinstance(message.channel, (discord.channel.TextChannel)): return