Fix attempting to get error message from wrong locale file

This commit is contained in:
NovaFox161
2023-09-08 20:18:13 -05:00
parent 54e8c4f087
commit 0eed2a7760
@@ -318,7 +318,7 @@ class AnnouncementCommand(val wizard: Wizard<Announcement>) : SlashCommand {
} else {
event.interaction.guild
.map { AnnouncementEmbed.pre(it, pre, settings) }
.flatMap { event.followupEphemeral(getMessage("error.patronOnly", settings), it) }
.flatMap { event.followupEphemeral(getCommonMsg("error.patronOnly", settings), it) }
}
} else {
event.followupEphemeral(getMessage("error.wizard.notStarted", settings))