Skip to content

Commit

Permalink
/shrug ¯\_(ツ)_/¯
Browse files Browse the repository at this point in the history
  • Loading branch information
shazow committed Jan 19, 2018
1 parent 87dd859 commit d73aae0
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions chat/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,20 @@ func InitCommands(c *Commands) {
},
})

c.Add(Command{
Prefix: "/shrug",
Handler: func(room *Room, msg message.CommandMsg) error {
var me string
args := msg.Args()
if len(args) == 0 {
me = `¯\_(ツ)_/¯`
}

room.Send(message.NewEmoteMsg(me, msg.From()))
return nil
},
})

c.Add(Command{
Prefix: "/timestamp",
Help: "Timestamps after 30min of inactivity.",
Expand Down

0 comments on commit d73aae0

Please sign in to comment.