-
-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
member status not working with slash commands #1194
Labels
unconfirmed bug
A bug report that needs triaging
Comments
Does your bot have the presence intent enabled on the bot page? |
Most likely a side effect of |
member = await ctx.guild.fetch_member(member.id) I suppose? |
I mean in the library :) I have that as a workaround |
Oh lol, sorry, didn't see that at the bottom, I'll bow out again |
10 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
When using slash commands, ctx.author.status is always offline.
Reproduction Steps
Create a slash command that uses
ctx.author.status
, and it will always be "offline". As a side effect,ctx.author.is_on_mobile()
is always false. However, if you pass in a member (even if it's yourself), the status code works as intended.Minimal Reproducible Code
Expected Results
I expect the status to correctly reflect the user's status
Actual Results
The user is always offline
Intents
all
System Information
Checklist
Additional Context
May be related to #891
As a workaround I can do
member = ctx.guild.get_member(member.id)
The text was updated successfully, but these errors were encountered: