fix(twrmd): Fix luserid clobbering userid.
This commit is contained in:
@@ -298,8 +298,8 @@ class ReminderCog(LionCog):
|
|||||||
timezone = None
|
timezone = None
|
||||||
discords = await profile.discord_accounts()
|
discords = await profile.discord_accounts()
|
||||||
if discords:
|
if discords:
|
||||||
userid = discords[0].userid
|
luserid = discords[0].userid
|
||||||
luser = await self.bot.core.lions.fetch_user(userid)
|
luser = await self.bot.core.lions.fetch_user(luserid)
|
||||||
if luser:
|
if luser:
|
||||||
timezone = luser.config.timezone.value
|
timezone = luser.config.timezone.value
|
||||||
if not timezone:
|
if not timezone:
|
||||||
|
|||||||
Reference in New Issue
Block a user