Used the corrected error when checking if a command has never been used
This commit is contained in:
parent
7276277b3c
commit
b62aa7f0b4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue