forked from Fascinated/Bat
fix migrations
This commit is contained in:
@ -213,6 +213,7 @@ public class CommandService extends ListenerAdapter {
|
||||
executor.execute(guild, user, ranInsideGuild ? event.getChannel().asTextChannel() : event.getChannel().asPrivateChannel(),
|
||||
event.getMember(), event.getInteraction());
|
||||
} catch (Exception ex) {
|
||||
log.error("An error occurred while executing command \"{}\"", commandName, ex);
|
||||
event.replyEmbeds(EmbedUtils.errorEmbed()
|
||||
.setDescription(ex.getLocalizedMessage())
|
||||
.build())
|
||||
|
Reference in New Issue
Block a user