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

Exclude Disc from copy username if pomelo #174

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

12944qwerty
Copy link
Contributor

@12944qwerty 12944qwerty commented Sep 29, 2023

Makes a change such that the discriminator is not copied for username-migrated accounts.

@cryptoAlgorithm
Copy link
Member

I recommend using a tenary for this - something like pasteboard.setString(user.discriminator == "0" ? "..." : "...")

@cryptoAlgorithm
Copy link
Member

Nice, formatting looks alright. Thanks for the contribution!

@cryptoAlgorithm cryptoAlgorithm added this pull request to the merge queue Oct 2, 2023
Merged via the queue into SwiftcordApp:main with commit 87aae42 Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants