fixed /form help crashing the bot

This commit is contained in:
2024-03-17 13:31:07 +01:00
parent 6efe7e5615
commit 328d2594ea
3 changed files with 10 additions and 6 deletions

View File

@@ -51,7 +51,7 @@ func webhook(p []byte) {
var logJson Log
json.Unmarshal(p, &logJson)
var color string = "36314"
if logJson.Level == "Error" {
if logJson.Level == "error" {
color = "16739179"
}
m := Message{