1
0
Fork 0
mirror of synced 2024-06-29 03:30:57 +12:00

Used the corrected error when checking if a command has never been used

This commit is contained in:
phxntxm 2016-09-29 12:36:43 -05:00
parent 7276277b3c
commit b62aa7f0b4

View file

@ -45,7 +45,7 @@ class Stats:
command_stats = await config.get_content('command_usage', r_filter)
try:
command_stats = command_stats[0]
except IndexError:
except TypeError:
await self.bot.say("That command has never been used! You know I worked hard on that! :c")
return