This commit is contained in:
Dawid Wysokiński 2021-10-06 20:05:54 +02:00
parent e254901033
commit 1c6c6da482
2 changed files with 2 additions and 2 deletions

View File

@ -648,7 +648,7 @@ func (hndlr *hndlrDeleteObservation) execute(ctx *commandCtx, m *discordgo.Messa
if err != nil { if err != nil {
hndlr.SendMessage(m.ChannelID, hndlr.SendMessage(m.ChannelID,
ctx.localizer.MustLocalize(&i18n.LocalizeConfig{ ctx.localizer.MustLocalize(&i18n.LocalizeConfig{
MessageID: message.DeleteObservationInvalidTribeID, MessageID: message.DeleteObservationInvalidObservationID,
TemplateData: map[string]interface{}{ TemplateData: map[string]interface{}{
"Mention": m.Author.Mention(), "Mention": m.Author.Mention(),
}, },

View File

@ -80,7 +80,7 @@ const (
ObserveSuccess = "observe.success" ObserveSuccess = "observe.success"
DeleteObservationInvalidGroupID = "deleteObservation.invalidGroupID" DeleteObservationInvalidGroupID = "deleteObservation.invalidGroupID"
DeleteObservationInvalidTribeID = "deleteObservation.invalidTribeID" DeleteObservationInvalidObservationID = "deleteObservation.invalidObservationID"
DeleteObservationGroupNotFound = "deleteObservation.groupNotFound" DeleteObservationGroupNotFound = "deleteObservation.groupNotFound"
DeleteObservationSuccess = "deleteObservation.success" DeleteObservationSuccess = "deleteObservation.success"