Improved error message
This commit is contained in:
parent
ebbabea0b9
commit
0674989716
|
|
@ -146,7 +146,7 @@ public class Utilities {
|
||||||
public static void registerCommand(JDA jda, CommandData commandData) {
|
public static void registerCommand(JDA jda, CommandData commandData) {
|
||||||
Guild guild = jda.getGuildById(BotConfig.DISCORD.GUILD_ID);
|
Guild guild = jda.getGuildById(BotConfig.DISCORD.GUILD_ID);
|
||||||
if (guild == null) {
|
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;
|
return;
|
||||||
}
|
}
|
||||||
registerCommand(guild, commandData);
|
registerCommand(guild, commandData);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user