add channel region changing logging

This commit is contained in:
Lee
2024-07-04 10:49:21 +01:00
parent 26b7b7158a
commit 14ff692b87
3 changed files with 32 additions and 0 deletions

View File

@ -498,4 +498,13 @@ public class EventService extends ListenerAdapter {
listener.onChannelUpdateUserLimit(guild, event);
}
}
@Override
public void onChannelUpdateRegion(@NotNull ChannelUpdateRegionEvent event) {
BatGuild guild = guildService.getGuild(event.getGuild().getId());
for (EventListener listener : LISTENERS) {
listener.onChannelUpdateRegion(guild, event);
}
}
}