mirror of https://github.com/stijndcl/didier
Make targetted Mess public because why not
parent
b971f661b4
commit
a2b7602680
|
@ -15,8 +15,8 @@ class Xp(commands.Cog):
|
||||||
@commands.check(checks.allowedChannels)
|
@commands.check(checks.allowedChannels)
|
||||||
@help.Category(Category.Other)
|
@help.Category(Category.Other)
|
||||||
async def xp(self, ctx, user: discord.Member = None):
|
async def xp(self, ctx, user: discord.Member = None):
|
||||||
if user is not None and str(ctx.author.id) != constants.myId:
|
# if user is not None and str(ctx.author.id) != constants.myId:
|
||||||
return await ctx.send("Je hebt geen toegang tot dit commando.")
|
# return await ctx.send("Je hebt geen toegang tot dit commando.")
|
||||||
|
|
||||||
target = user if user is not None else ctx.author
|
target = user if user is not None else ctx.author
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue