attempt to fix commands counting for more than they should
@@ -73,9 +73,6 @@ class Events(commands.Cog):
if len(someones) > 0:
invis = ('||||\u200B'*200)[2:-3]
await m.channel.send(f'@someone {invis} {random.choice(someones).mention} {m.author.mention}')
-
- self.bot.d.cmd_lb[m.author.id] = self.bot.d.cmd_lb.get(m.author.id, 0) + 1
- self.bot.d.cmd_count += 1
else:
if not m.content.startswith(self.d.prefix_cache.get(m.guild.id, '/')):
if 'emerald' in m.content.lower():
@@ -89,9 +86,6 @@ class Events(commands.Cog):
await m.channel.send(random.choice(self.d.emojis.reees))
else:
return
-
- self.bot.d.cmd_lb[m.author.id] = self.bot.d.cmd_lb.get(m.author.id, 0) + 1
- self.bot.d.cmd_count += 1
except discord.errors.Forbidden:
pass
