Status Detection Fails for Bot Owner #898
|
When trying to get the custom status (custom activity) of users, my bot successfully registers all the activities. However it refuses to detect mine, even when I have an actual activity, like playing a game. It's only when I exit the game, or change my status during the game, that the game is registered and printed, but my custom status is never detected. Any insights on why this might be happening? Here's the minimal code required to replicate the issue. import discord
from discord.ext import commands
_intents = discord.Intents.all()
bot = commands.Bot(command_prefix = "..", intents = _intents)
@bot.event
async def on_ready():
print("hi")
@bot.event
async def on_presence_update(before:discord.Member, after:discord.Member):
print(before.activity)
print(after.activity)
print(after.activities)
bot.run("TOKEN") |
Answered by
Dorukyum
Jul 27, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixed in #1365.