mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Replace isMe with isOwner to allow other people to debug their own bot
This commit is contained in:
parent
e3c0d2b444
commit
7118a80d5d
2 changed files with 9 additions and 8 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue