presence: default to online on missing status in state.presence

This commit is contained in:
Luna 2018-12-06 01:00:27 -03:00
parent 1ba6fa5a3e
commit 78c136b20d
1 changed files with 1 additions and 1 deletions

View File

@ -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,