#Editing the name of a role once the client is ready

13 messages · Page 1 of 1 (latest)

lavish notch
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

ebon junco
lavish notch
#

get the guild, get the role, edit the role, result

ebon junco
#

how would I change the name of a bot?

tiny micaBOT
ebon junco
#

@lavish notch

#

do you mind typing out an example of how I would use it?

#

like if i wanted to change the bot name to "test"

ebon junco
#

.setusername does not seem to be working

#

I run the box and that line is within the client ready funtion

#

but it does not change the name