Improved error message

This commit is contained in:
Teriuihi 2022-12-27 18:52:48 +01:00
parent ebbabea0b9
commit 0674989716

View File

@ -146,7 +146,7 @@ public class Utilities {
public static void registerCommand(JDA jda, CommandData commandData) {
Guild guild = jda.getGuildById(BotConfig.DISCORD.GUILD_ID);
if (guild == null) {
ALogger.error("Unable to find guild id to register commands");
ALogger.error("Unable to find guild with id: [" + BotConfig.DISCORD.GUILD_ID + "] to register commands");
return;
}
registerCommand(guild, commandData);