Replace isMe with isOwner to allow other people to debug their own bot

This commit is contained in:
Stijn De Clercq 2021-04-14 18:07:09 +02:00
parent e3c0d2b444
commit 7118a80d5d
2 changed files with 9 additions and 8 deletions

View file

@ -89,7 +89,7 @@ class Train(commands.Cog):
return "".join(arr)
async def sendEmbed(self, ctx, embed):
if checks.allowedChannels(ctx):
if await checks.allowedChannels(ctx):
await ctx.send(embed=embed)
else:
await ctx.author.send(embed=embed)