[Core] Fixed faulty logic in retrieving the owner

This commit is contained in:
Twentysix 2016-12-20 11:03:39 +01:00
parent 8145b41097
commit 2ab7ada87d

2
red.py
View File

@ -315,7 +315,7 @@ async def set_bot_owner():
owner = await bot.get_user_info(bot.settings.owner)
except:
owner = None
else:
if not owner:
owner = bot.settings.owner # Just the ID then
return owner