~nicoco/slidcord

eb55785d2a26e586abd2b60cc84f0004311be8d0 — nicoco a month ago c4e75eb
fix: do not pass None for discord presence status
1 files changed, 4 insertions(+), 1 deletions(-)

M slidcord/session.py
M slidcord/session.py => slidcord/session.py +4 -1
@@ 223,7 223,10 @@ class Session(BaseSession[int, Recipient]):
            return

        self.log.debug("New presence: %s vs %s", new, old)
        await self.discord.change_presence(activity=new.activity, status=new.status)
        await self.discord.change_presence(
            activity=new.activity,
            status=new.status or di.utils.MISSING,
        )
        self.__discord_presence = new

    async def on_avatar(