This commit is contained in:
parent
e254901033
commit
1c6c6da482
|
@ -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(),
|
||||||
},
|
},
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Reference in New Issue