mirror of
https://github.com/Floriansylvain/Risitas_BOT.git
synced 2026-08-19 11:43:16 +02:00
🩹 - Fixed a problem with a var scope
This commit is contained in:
@@ -14,6 +14,7 @@ class LolCmds(commands.Cog):
|
||||
@commands.command()
|
||||
@commands.cooldown(1, 2, commands.BucketType.user)
|
||||
async def lol_rank(self, ctx, invocator_name, x=None):
|
||||
global CD_LOLRANK
|
||||
CD_LOLRANK = 0
|
||||
if x is None:
|
||||
player = what_player(invocator_name)
|
||||
|
||||
Reference in New Issue
Block a user