You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How would I set a custom emoji as a status? My code is here: const { Discord, Client, CustomStatus } = require("discord.js-selfbot-v13"); const client = new Client({ syncStatus: false, checkUpdate: false });
client.user.setPresence({ activities: [{ name: "custom status name" }], status: 'online' }.setEmoji(":heart:")); client.settings.setCustomStatus({ emoji: ":heart:", text: "custom status name", status: 'online', expires: null });
I get an error on the .setEmoji(":heart:") code and I can't seem to just use activities: [{ setEmoji(":heart:"), name: "custom status name" }] I've looked through the API and I couldn't find any code that worked on v13 is this still possible?
Expected result:
Discord status text is "custom status name"
Discord Status emoji is ❤
Edit: I found https://discordjs-self-v13.netlify.app/#/docs/docs/main/typedef/EmojiIdentifierResolvable but am not sure how to get the ID it references
edit 2: When printing the current ID of my status emoji client.settings.customStatus.emoji_id I was able to get the ID and according to the format from the first edit link I should be able to use name:id so i can verify i got the name right using client.settings.customStatus.emoji_name so I know i am using the correct id and name for the emoji but client.settings.setCustomStatus({emoji: "name:693262878697095198"}); (one number replaced for privacy) It just clears any emoji I have set already. Is this possibly a bug?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How would I set a custom emoji as a status? My code is here:
const { Discord, Client, CustomStatus } = require("discord.js-selfbot-v13");
const client = new Client({
syncStatus: false,
checkUpdate: false
});
client.user.setPresence({ activities: [{ name: "custom status name" }], status: 'online' }.setEmoji(":heart:"));
client.settings.setCustomStatus({ emoji: ":heart:", text: "custom status name", status: 'online', expires: null });
I get an error on the
.setEmoji(":heart:")
code and I can't seem to just useactivities: [{ setEmoji(":heart:"), name: "custom status name" }]
I've looked through the API and I couldn't find any code that worked on v13 is this still possible?Expected result:
Discord status text is
"custom status name"
Discord Status emoji is
❤
Edit: I found https://discordjs-self-v13.netlify.app/#/docs/docs/main/typedef/EmojiIdentifierResolvable but am not sure how to get the ID it references
edit 2: When printing the current ID of my status emoji
client.settings.customStatus.emoji_id
I was able to get the ID and according to the format from the first edit link I should be able to usename:id
so i can verify i got the name right usingclient.settings.customStatus.emoji_name
so I know i am using the correct id and name for the emoji butclient.settings.setCustomStatus({emoji: "name:693262878697095198"});
(one number replaced for privacy) It just clears any emoji I have set already. Is this possibly a bug?Beta Was this translation helpful? Give feedback.
All reactions