mirror of
https://github.com/Floriansylvain/Risitas_BOT.git
synced 2026-10-19 05:03:51 +02:00
🩹 - Fixed a problem with a var scope
This commit is contained in:
1 parent
e1e4caf3e1
commit
4d71863cb4
1 file changed
+1
@@ -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