Skip to content

Commit

Permalink
Log initial presence as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfies committed Feb 13, 2024
1 parent 4d47c0a commit 0d2c90e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions discord/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ def _handle_connect(self) -> None:
if status or activities:
if status is None:
status = getattr(state.settings, 'status', None) or Status.unknown
_log.debug('Setting initial presence to %s %s', status, activities)
self.loop.create_task(self.change_presence(activities=activities, status=status))

@property
Expand Down

0 comments on commit 0d2c90e

Please sign in to comment.