[V3] Add missing await for [p]set prefix (#1809)

This commit is contained in:
Michael H 2018-06-06 03:08:33 -04:00 committed by Tobotimus
parent 8916f55d52
commit 95f51e1126

View File

@ -197,7 +197,7 @@ class CoreLogic:
if prefixes:
prefixes = sorted(prefixes, reverse=True)
await self.bot.db.prefix.set(prefixes)
return self.bot.db.prefix()
return await self.bot.db.prefix()
async def _version_info(self):
"""