Skip to content

Commit

Permalink
♻️ refactor: updated message type #9
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen215 committed Oct 2, 2023
1 parent 2896c57 commit 934104e
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions bot/template/template_config.go
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
package template

const (
MessageTypeNotification = "Notification"
MessageTypeInformation = "Information"
MessageTypeWarning = "Warning"
MessageTypeError = "Error"
MessageTypeDebug = "Debug"
MessageTypeSuccess = "Success"
MessageTypeBug = "Bug"
MessageTypeTrace = "Trace"
TypeNotification = "Notification"
TypeInformation = "Info"
TypeWarning = "Warning"
TypeError = "Error"
TypeDebug = "Debug"
TypeSuccess = "Success"
TypeBug = "Bug"
TypeTrace = "Trace"
)

var MessageTypeIcons = map[string]string{
MessageTypeNotification: "🔔",
MessageTypeInformation: "ℹ️",
MessageTypeWarning: "⚠️",
MessageTypeError: "❌",
MessageTypeDebug: "🐞",
MessageTypeSuccess: "✅",
MessageTypeBug: "🐛",
MessageTypeTrace: "🔍",
var TypeIcons = map[string]string{
TypeNotification: "🔔",
TypeInformation: "ℹ️",
TypeWarning: "⚠️",
TypeError: "❌",
TypeDebug: "🐞",
TypeSuccess: "✅",
TypeBug: "🐛",
TypeTrace: "🔍",
}

0 comments on commit 934104e

Please sign in to comment.