#display_name not always returning nickname

1 messages · Page 1 of 1 (latest)

dull plinth
#

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

neat skiff
#

do you have member intents enabled

dull plinth
#

I have all intents and the bot is admin

summer ruin
#

and what is your py-cord version?

dull plinth
#

2.4.1

neat skiff
#

how many servers is your bot in

#

and how many members would it have access to

dull plinth
#

It's in 2 servers, my personal one with just me & mee6 and another private server with 9 other ppl total

harsh atlas
#

.tag pomelo

green pulsarBOT
#

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
hasty sundial
#

I'm getting the same issue for probably the same reason. Was there a resolution?

hasty sundial
#

2.4.1

#

Should I go for the dev release or try the github build?

summer ruin
#

Uninstall py-cord and install py-cord-dev

hasty sundial
#

Doing.

hasty sundial
#

Appears to be working. Thanks!

summer ruin
#

.close

green pulsarBOT
#

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.