forked from Fascinated/Bat
make log messages more consistent
This commit is contained in:
@ -10,6 +10,7 @@ import lombok.extern.log4j.Log4j2;
|
||||
import net.dv8tion.jda.api.entities.Invite;
|
||||
import net.dv8tion.jda.api.events.channel.ChannelCreateEvent;
|
||||
import net.dv8tion.jda.api.events.channel.ChannelDeleteEvent;
|
||||
import net.dv8tion.jda.api.events.channel.update.ChannelUpdateNameEvent;
|
||||
import net.dv8tion.jda.api.events.emoji.EmojiAddedEvent;
|
||||
import net.dv8tion.jda.api.events.emoji.EmojiRemovedEvent;
|
||||
import net.dv8tion.jda.api.events.emoji.update.EmojiUpdateNameEvent;
|
||||
@ -381,4 +382,13 @@ public class EventService extends ListenerAdapter {
|
||||
listener.onEmojiRename(guild, event.getEmoji(), event.getOldName(), event.getNewName(), event);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onChannelUpdateName(@NotNull ChannelUpdateNameEvent event) {
|
||||
BatGuild guild = guildService.getGuild(event.getGuild().getId());
|
||||
|
||||
for (EventListener listener : LISTENERS) {
|
||||
listener.onChannelUpdateName(guild, event);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user