bugfixes; email parsing; send emails into matrix rooms; e2e tests
This commit is contained in:
@@ -33,7 +33,7 @@ func (b *Bot) parseCommand(message string) []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
message = strings.Replace(message, b.prefix+" ", "", 1)
|
||||
message = strings.TrimSpace(strings.Replace(message, b.prefix, "", 1))
|
||||
return strings.Split(message, " ")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user