1
0
Fork 0
mirror of synced 2024-06-26 10:10:44 +12:00

Made sure to return after an error check

This commit is contained in:
phxntxm 2017-01-24 14:45:34 -06:00
parent fa82e5403a
commit abcd04e9ab

View file

@ -79,6 +79,7 @@ class Stats:
cmd = self.find_command(command)
if cmd is None:
await self.bot.say("`{}` is not a valid command".format(command))
return
r_filter = {'command': cmd.qualified_name}
command_stats = await config.get_content('command_usage', r_filter)