Make targetted Mess public because why not

pull/45/head
Stijn De Clercq 2021-02-18 11:25:28 +01:00
parent b971f661b4
commit a2b7602680
1 changed files with 2 additions and 2 deletions

View File

@ -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