You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 2, 2025. It is now read-only.
Cuando se ejecuta el comando eps!rpsls sin especificar el parámetro (rock, paper, scisor, ...), el bot genera una excepción a causa de un msg[1].lower(); (cuando msg es de length = 1)
Traceback (most recent call last): File "/bots/hackeps-2020/src/modules/commands/utils.py", line 29, in wrapper value = await func(*args) File "/bots/hackeps-2020/src/modules/commands/rpsls.py", line 34, in apply player_choice = msg[1].lower() IndexError: list index out of range
Es necesario corregirlo para evitar que lance mensajes de error y excepción
Cuando se ejecuta el comando
eps!rpslssin especificar el parámetro (rock, paper, scisor, ...), el bot genera una excepción a causa de un msg[1].lower(); (cuando msg es de length = 1)Traceback (most recent call last): File "/bots/hackeps-2020/src/modules/commands/utils.py", line 29, in wrapper value = await func(*args) File "/bots/hackeps-2020/src/modules/commands/rpsls.py", line 34, in apply player_choice = msg[1].lower() IndexError: list index out of rangeEs necesario corregirlo para evitar que lance mensajes de error y excepción