#How will djs handle bot tags, since they're not switching to the new username system?

11 messages · Page 1 of 1 (latest)

median light
#

I read on the Discord dev server that they decided not to switch bot users over to the new username system (yet), and they abandoned the idea to give all unverified bots a random username for now.

Does this mean .tag can still be used for bot users? Two systems being used at the same time confuses me, because it seems we'll have to continue using deprecated features to show the differences between bot usernames. So can .tag and .discriminator still be used for bot users, or will .globalname function like .tag does for bot users?

solemn hullBOT
#

• 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.

rain pagoda
#

#1115775988857581668

median light
#

Yes, I read that first. But what about bot users?

honest basin
#

bot's will eventually be using the new system

median light
#

As far as I'm aware they'll continue to have both a username and discriminator for now

#

So .tag will be deprecated before bots switch over?

honest basin
#

it'll be deprecated regardless, yes

median light
#

Alright, thank you. I guess I'll need to check whether a user is a bot or not before getting their username for now

honest basin
#

you can use User#username

median light
#

If my bot is called bot#1234, wouldn't User#username return just "bot"?