Fix Private Mode Usernames #19

Merged
ProfessorDey merged 1 commit from patch-3 into master 2018-03-08 11:15:22 +01:00
ProfessorDey commented 2018-03-08 08:55:42 +01:00 (Migrated from github.com)

So it turns out that if you try to print a userid of someone that isn't in that server, such as in a dm channel, it simply displays as invalid user (Even though userids are unique across the entirety of discord, got to love that logic). So now the private message instead uses the .username and .tag attributes to provide the normal userid, like so: @GenericUser#1234

While this may be a tad confusing to those using nicknames, it identifies the exact individual doing the tipping, it just might require a little digging.

So it turns out that if you try to print a userid of someone that isn't in that server, such as in a dm channel, it simply displays as invalid user (Even though userids are unique across the entirety of discord, got to love that logic). So now the private message instead uses the .username and .tag attributes to provide the normal userid, like so: @GenericUser#1234 While this may be a tad confusing to those using nicknames, it identifies the exact individual doing the tipping, it just might require a little digging.
nikooo777 commented 2018-03-08 11:15:38 +01:00 (Migrated from github.com)

thank you!

thank you!
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-tipbot#19
No description provided.