Closed PotcFdk closed 7 years ago
I'm not quite sure why you've screenshotted JDA code. IT doesn't help us debug your problem.
That being said, I'm not sure how you're trying to see if your own account has been set to idle, but you don't get status updates for yourself. E.g: If you are logged into the client and you use JDA to log into the same account and you set game/status it will not show up in the Discord client for you. It will for other people using Discord.
If you want to check if your code is properly setting, use a different account to log in to view the account that your selfbot is using to verify it is working.
To add to the above, setIdle sets the current session to be idle. If all sessions are idle Discord will send notifications to your phone. So, setIdle
isn't quite what you're looking for.
@DV8FromTheWorld The screenshot was to show the message that is sent via the websocket, I thought this would have been the most helpful piece of information for spotting obvious user errors on my side.
you don't get status updates for yourself it will not show up in the Discord client for you
Thanks, this was my issue. I've lost so many hours on this yesterday because I thought I could see it (both the status and the currently playing game (!)) from my own account. Gah.... Thank you.
Hey, I've tried to use JDA to set my own user's account status to
idle
, usingsetIdle
, but it didn't work. This is apparently what is sent to the server:I seem to be authenticated, because
deleteMessageById
correctly deletes my message. Am I doing something wrong or is there some other kind of issue?