fix(shard): 🚑 on_message raising error and not sending messages through calls.
This commit is contained in:
@@ -237,7 +237,7 @@ class Calls(base.Cog):
|
||||
Handle messages in calls.
|
||||
"""
|
||||
|
||||
if ctx.author.created_at > datetime.now(timezone.utc) - timedelta(
|
||||
if message.author.created_at > datetime.now(timezone.utc) - timedelta(
|
||||
days=exceptions.AccountTooYoungError.days
|
||||
):
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user