Merge e246006a4a8525d269c9ac4cd59c9e928700cc82 into 0cb58facef66da4b15d830bb18af5f6e9159c05a

This commit is contained in:
Steven L 2017-08-28 19:36:59 +00:00 committed by GitHub
commit 50714b8c5a

View File

@ -259,6 +259,16 @@ func InitCommands(c *Commands) {
},
})
c.Add(Command{
Prefix: "/shrug",
Help: "Raise your arms in the air",
Handler: func(room *Room, msg message.CommandMsg) error {
body := strings.TrimLeft(msg.Body(), "/shrug")
room.Send(message.NewPublicMsg(body + "¯\\_(ツ)_/¯", msg.From()))
return nil
},
})
c.Add(Command{
Prefix: "/ignore",
PrefixHelp: "[USER]",