Skip to content

Gostaria de ajuda pra conseguir colocar um status personalizado em meu bot #10643

Closed Answered by almostSouji
HarizeTamara asked this question in Q&A
Discussion options

You must be logged in to vote

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!

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,

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@HarizeTamara
Comment options

Answer selected by almeidx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants