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

remove getAsTag as thats obsolete with the new usernames. #288

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Jens-Co
Copy link
Member

@Jens-Co Jens-Co commented Jun 10, 2023

No description provided.

@Kas-tle
Copy link
Member

Kas-tle commented Aug 9, 2023

Is the username rollout finished though? What happens in this case if the user still has a tag?

@Chew
Copy link
Member

Chew commented Aug 11, 2023

Yeah you'll want a misc util method for friendlyName() that gets the tag if discrim > 0 or just the username otherwise

@onebeastchris
Copy link
Member

Discord will be automatically changing tags to usernames on March 4th from what i've heard, we could wait until then?

@rtm516
Copy link
Member

rtm516 commented Feb 19, 2024

Discord will be automatically changing tags to usernames on March 4th from what i've heard, we could wait until then?

Yes, once that's done we can remove tag support. I think bots may still have tags but not too important

@onebeastchris
Copy link
Member

Usernames are now fully migrated, we could move ahead with this PR 👀

Copy link
Member

@Chew Chew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good, just a question. Also should go through and make sure we didn't miss anything in the few months.

@@ -164,7 +164,7 @@ public void onGuildMemberJoin(@NotNull GuildMemberJoinEvent event) {
try {
ServerSettings.getLogChannel(event.getGuild()).sendMessageEmbeds(new EmbedBuilder()
.setAuthor("Member Joined", null, event.getUser().getAvatarUrl())
.setDescription(event.getUser().getAsMention() + " " + event.getUser().getAsTag())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was mention removed here?

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.

5 participants