mirror of
https://github.com/DreamExposure/DisCal-Discord-Bot.git
synced 2026-04-30 06:09:52 -05:00
Fix attempting to get error message from wrong locale file
This commit is contained in:
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user