refactor: remove unnecessary try-catch in DiscordPlugin ticker

This commit is contained in:
ChomeNS
2025-02-18 19:08:11 +07:00
parent 859b599af9
commit c682597fb8

View File

@@ -87,11 +87,7 @@ public class DiscordPlugin {
bot.tick.addListener(new TickPlugin.Listener() {
@Override
public void onAlwaysTick () {
try {
onDiscordTick(channelId);
} catch (Exception e) {
e.printStackTrace();
}
onDiscordTick(channelId);
}
});