mirror of https://gitlab.com/litecord/litecord.git
presence: default to online on missing status in state.presence
This commit is contained in:
parent
1ba6fa5a3e
commit
78c136b20d
|
|
@ -85,7 +85,7 @@ class PresenceManager:
|
|||
'guild_id': str(guild_id),
|
||||
|
||||
# basic presence
|
||||
'status': state.presence['status'],
|
||||
'status': state.presence.get('status', 'online'),
|
||||
|
||||
# game is an activity object, for rich presence
|
||||
'game': game,
|
||||
|
|
|
|||
Loading…
Reference in New Issue