mirror of https://github.com/stijndcl/didier
Use client user id for poke easter egg
parent
3f5eb6a595
commit
966b378e09
|
@ -87,7 +87,7 @@ class Poke(commands.Cog):
|
||||||
if ctx.message.mentions[0].id == ctx.author.id:
|
if ctx.message.mentions[0].id == ctx.author.id:
|
||||||
await ctx.send("Je kan jezelf niet tikken, {}.".format(ctx.author.display_name))
|
await ctx.send("Je kan jezelf niet tikken, {}.".format(ctx.author.display_name))
|
||||||
return False
|
return False
|
||||||
if str(ctx.message.mentions[0].id) == constants.didierId:
|
if ctx.message.mentions[0].id == self.client.user.id:
|
||||||
await ctx.send("Je kan me niet tikken, {}.".format(ctx.author.display_name))
|
await ctx.send("Je kan me niet tikken, {}.".format(ctx.author.display_name))
|
||||||
return False
|
return False
|
||||||
if str(ctx.message.mentions[0].id) in constants.botIDs:
|
if str(ctx.message.mentions[0].id) in constants.botIDs:
|
||||||
|
|
Loading…
Reference in New Issue