#how to start bot?
1 messages ยท Page 1 of 1 (latest)
You cannot provide two different token for the same script.
Reset your token on https://discord.com/developers
I tried again and now it shows another error
Deleted the image you sent, make sure to not show your token anywhere, it gives full access tu your bot.
Firstly, head up to https://discord.com/developers/applications and select your bot
Then, go the the "Bot" section on the left
Finally, scroll down and check all of the options as in my screenshot
Thanks ^^
oops, sorry
this worked tysm
i have another question, how do i change the status from "playing" to "listening"
I do not think that we can change the discord status name for a bot. Discord limited the functionality to the word "playing".
last question (i think), when i add a song to the queue, the current song is instantly skipped
update: I tried to put a playlist and I succeeded, but it only plays the first song and stops ( /queue shows the other songs but nothing works /skip or /stop )
We can ! Iโll add a code for this later ๐
To change the music bot status, head up to events/Discord/ready.js. The line 3 should looks like this: js client.user.setActivity(client.config.app.playing); but to change it, by example, to "listening", you can use this line : js client.user.setActivity(client.config.app.playing, { type: 2 }); Here, the type: 2 is meaning the activity type is Listening? You have more that those two, you can check them all here: https://discord-api-types.dev/api/discord-api-types-v10/enum/ActivityType#Enumeration Members
oh
๐
I don't even know how a user can have some of these statuses..
Like "competing" or "custom"๐ฆ
Competing is by example if you play a game of fortnite
Nice example from discord dev portal
Interesting
or is custom a possibility for developpers to add special statuses to their discord applications?
or is custom a possibility for developpers to add special statuses to their discord applications?
im not sure about custom, ill check
discord.js setActivity: https://old.discordjs.dev/#/docs/discord.js/14.9.0/class/ClientUser?scrollTo=setActivity
