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

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?
10 Replies
d.js toolkit
d.js toolkit2y ago
• 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.
treble/luna
treble/luna2y ago
#faq
Wawajabba
WawajabbaOP2y ago
Yes, I read that first. But what about bot users?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Wawajabba
WawajabbaOP2y ago
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?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Wawajabba
WawajabbaOP2y ago
Alright, thank you. I guess I'll need to check whether a user is a bot or not before getting their username for now
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Wawajabba
WawajabbaOP2y ago
If my bot is called bot#1234, wouldn't User#username return just "bot"?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server