-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
base: master
Are you sure you want to change the base?
Conversation
Is the username rollout finished though? What happens in this case if the user still has a tag? |
Yeah you'll want a misc util method for |
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 |
Usernames are now fully migrated, we could move ahead with this PR 👀 |
There was a problem hiding this 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()) |
There was a problem hiding this comment.
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?
No description provided.