Gostaria de ajuda pra conseguir colocar um status personalizado em meu bot #10643
-
Gostaria de ajuda pra conseguir colocar um status personalizado em meu bot! |
Beta Was this translation helpful? Give feedback.
Answered by
almostSouji
Dec 8, 2024
Replies: 1 comment 1 reply
-
Quoting my FAQ entry from https://discord.gg/djs Important You need version v14.13.0 or newer of discord.js const { ActivityType } = require('discord.js');
client.user.setPresence({
activities: [{
type: ActivityType.Custom,
name: "custom", // name is exposed through the API but not shown in the client for ActivityType.Custom
state: "🍋"
}]
}) const { ActivityType } = require('discord.js');
client.user.setActivity({
type: ActivityType.Custom,
name: "custom", // name is exposed through the API but not shown in the client for ActivityType.Custom
state: "🍋"
}) const { Client, GatewayIntentBits, ActivityType } = require('discord.js');
new Client({
intents: [GatewayIntentBits.Guilds],
presence: {
activities: [{
type: ActivityType.Custom,
name: "custom", // name is exposed through the API but not shown in the client for ActivityType.Custom
state: "🍋"
}]
}
});
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
almeidx
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Quoting my FAQ entry from https://discord.gg/djs
Important
You need version v14.13.0 or newer of discord.js
Pick one option based on what other properties you want to set/change!