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") |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This is probably related to #891. |
Beta Was this translation helpful? Give feedback.
-
Fixed in #1365. |
Beta Was this translation helpful? Give feedback.
Fixed in #1365.