Hello! I've been trying to make a bot that gets my current Discord status (whether I'm online or offline) to show in my personal website.
I'm currently using Typescript in my project. I've read in different articles that it used to be done like this:
const { user } = interaction;
user?.presence // here's the user presence
But it looks like this was updated and no longer correct, I cannot find the presence property in the docs anywhere. I was also trying to use the PresenceManager, but I cannot get the instance as it doesn't seem available from the client.
I've been looking for a long time now but still cannot find a way to get the user's presence. Is this still possible? Also yes, I am already using the GuildPresences intent. Thanks for the help in advanced!