Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obliterating every discriminator I could find #164

Merged
merged 2 commits into from
Jul 24, 2024
Merged

Conversation

h-anjru
Copy link
Collaborator

@h-anjru h-anjru commented Jul 24, 2024

With the decision to no longer use discriminators, many strings referring to a user (e.g. discord.User or ctx.author) have a vestigial discriminator of "#0". I have tried to find every instance of this to avoid displaying the vestigial discriminator:

  • discord.User becomes discord.User.name
  • ctx.author becomes ctx.author.name
  • Any call to discord.User.discriminator is removed

@h-anjru h-anjru merged commit 6491290 into master Jul 24, 2024
1 check passed
@h-anjru h-anjru deleted the no-more-discriminators branch July 24, 2024 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant