refactor: make the discord messages log before hash and other things

now it looks like this https://i.imgur.com/BmW4HuH.png
This commit is contained in:
ChomeNS
2025-04-15 08:27:22 +07:00
parent f2250c656e
commit 4c5fa6d733
2 changed files with 2 additions and 2 deletions

View File

@@ -75,9 +75,9 @@ public class DiscordPlugin {
jda.getPresence().setPresence(Activity.playing(config.discord.statusMessage), false);
new MessageLogger(jda);
new GuildMessageEventHandler(jda, prefix, messagePrefix);
new DirectMessageEventHandler(jda, options);
new MessageLogger(jda);
Main.EXECUTOR.scheduleAtFixedRate(this::onDiscordTick, 0, 50, TimeUnit.MILLISECONDS);