From 966b378e093a5b1f17c116822d576a28553fc568 Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Tue, 15 Jun 2021 00:12:32 +0200 Subject: [PATCH] Use client user id for poke easter egg --- cogs/poke.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/poke.py b/cogs/poke.py index a61d324..e1a2e49 100644 --- a/cogs/poke.py +++ b/cogs/poke.py @@ -87,7 +87,7 @@ class Poke(commands.Cog): if ctx.message.mentions[0].id == ctx.author.id: await ctx.send("Je kan jezelf niet tikken, {}.".format(ctx.author.display_name)) 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)) return False if str(ctx.message.mentions[0].id) in constants.botIDs: