Corrected what was checked in our prefix method
This commit is contained in:
parent
ce7151612e
commit
0f21cf5155
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ def command_prefix(bot, message):
|
|||
# So assume it's in cache, or it doesn't exist
|
||||
# If the prefix does exist in the database and isn't in our cache; too bad, something has messed up
|
||||
# But it is not worth a query for every single message the bot detects, to fix
|
||||
prefix = cache['prefix'].get(message.server.id)
|
||||
prefix = cache['prefix'].values.get(message.server.id)
|
||||
return prefix or default_prefix
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue