mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Core] Fixed faulty logic in retrieving the owner
This commit is contained in:
parent
8145b41097
commit
2ab7ada87d
2
red.py
2
red.py
@ -315,7 +315,7 @@ async def set_bot_owner():
|
|||||||
owner = await bot.get_user_info(bot.settings.owner)
|
owner = await bot.get_user_info(bot.settings.owner)
|
||||||
except:
|
except:
|
||||||
owner = None
|
owner = None
|
||||||
else:
|
if not owner:
|
||||||
owner = bot.settings.owner # Just the ID then
|
owner = bot.settings.owner # Just the ID then
|
||||||
return owner
|
return owner
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user