Hey, I made a bot that posts a message with a button peoples can press to increase a count, and the message displays all the server members' username with the corresponding count, but for some reason for like half the users it uses their regular discord name instead of their nick name, any idea what could be the cause? this is the loop where I add each user in the embed
#display_name not always returning nickname
1 messages · Page 1 of 1 (latest)
do you have member intents enabled
I have all intents and the bot is admin
and what is your py-cord version?
2.4.1
is there any possibility it's because I'm getting guild.members from a button's interaction? https://i.imgur.com/NvXUf4T.png https://i.imgur.com/10UtVI6.png
It's in 2 servers, my personal one with just me & mee6 and another private server with 9 other ppl total
.tag pomelo
Before Pomelo-
member.name -> username
member.nick -> guild nick name
member.display_name -> member.nick OR member.name
After Pomelo-
member.name -> username
member.global_name -> global display name (global nick name)
member.nick -> guild nick name
member.display_name -> member.nick OR member.global_name OR member.name
I'm getting the same issue for probably the same reason. Was there a resolution?
What is the py-cord Version?
Uninstall py-cord and install py-cord-dev
Doing.
Appears to be working. Thanks!
.close
Done with your help thread?
Please close your own help thread by using </close:1009144375709814897> with @half jacinth.
Backup bot: </solved:1109625445990793246> (or
.solved) with @green pulsar.