lessen some user’s retardation a little

dev
kageru 5 years ago
parent 8b170ddc5a
commit 91e9ebbb28
Signed by untrusted user: kageru
GPG Key ID: 4289AC14736877D7

@ -10,7 +10,7 @@ import (
)
var config = readConfig()
var commands []Command
var commands []*Command
func main() {
dg, err := discordgo.New("Bot " + config.Token)
@ -50,6 +50,7 @@ func main() {
func addCommands() {
// Moderation
registerCommand(Command{Trigger: "^[^`]*([()|DoOvVcC][-=^']?;|;[-=^']?[()|DoOpPvVcC]|:wink:|😉)[^`]*$", Output: "<@%s> Oboe!", DeleteInput: true, OutputIsReply: true, Type: CommandTypeRegex})
registerCommand(Command{Trigger: "(\\s|^)nh([ ?.,]|$)", Output: "<@%s> „nh“ ist kein Wort, du Oboe!", DeleteInput: true, OutputIsReply: true, Type: CommandTypeRegex})
registerCommand(Command{Trigger: "!complain", Type: CommandTypePrefix, DMOnly: true, Function: redirectComplaint})
registerCommand(Command{Trigger: "!beschwerde", Type: CommandTypePrefix, DMOnly: true, Function: redirectComplaint})

Loading…
Cancel
Save