forked from Fascinated/Bat
change avatar url in the log
This commit is contained in:
parent
a605ab2dba
commit
36d29caa7a
@ -148,6 +148,7 @@ public class MemberListener implements EventListener {
|
||||
if (user.getDiscordUser().isBot()) {
|
||||
return;
|
||||
}
|
||||
newAvatarUrl = user.getDiscordUser().getAvatar() == null ? null : user.getDiscordUser().getAvatar().getUrl(4096);
|
||||
log.info("User \"{}\" changed their avatar to \"{}\"", user.getName(), newAvatarUrl);
|
||||
|
||||
for (Guild guild : DiscordService.JDA.getGuilds()) {
|
||||
|
Loading…
Reference in New Issue
Block a user