#how to start bot?

1 messages ยท Page 1 of 1 (latest)

delicate spear
#

I put the token of 2 different bots but it keeps saying it's invalid

slender compass
#

You cannot provide two different token for the same script.

split ledge
delicate spear
#

I tried again and now it shows another error

river schooner
#

Then, go the the "Bot" section on the left

#

Finally, scroll down and check all of the options as in my screenshot

split ledge
#

Thanks ^^

delicate spear
#

this worked tysm

#

i have another question, how do i change the status from "playing" to "listening"

slender compass
delicate spear
#

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 )

river schooner
river schooner
# delicate spear i have another question, how do i change the status from "playing" to "listening...

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

discord-api-types documentation

discord-api-types is a simple Node/Deno module that brings up to date typings for Discord's API

slender compass
#

Interesting

river schooner
#

yep !

#

all status available in discord can be added to a bot I beleive

slender compass
#

oh

river schooner
slender compass
#

I don't even know how a user can have some of these statuses..

#

Like "competing" or "custom"๐Ÿฆ…

river schooner
#

Nice example from discord dev portal

slender compass
#

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?