Skip to content

Instantly share code, notes, and snippets.

@tibynx
tibynx / mobile_status.py
Created August 23, 2022 14:43
This allows your discord bot to have a mobile status indicator. All you need to do is just import this into your main file.
from discord.gateway import DiscordWebSocket
async def identify(self):
payload = {
"op": self.IDENTIFY,
"d": {
"token": self.token,
"properties": {
"$os": "Discord iOS",
"$browser": "Discord iOS",