Skip to content

Commit d73aae0

Browse files
committed
/shrug ¯\_(ツ)_/¯
1 parent 87dd859 commit d73aae0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

chat/command.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,20 @@ func InitCommands(c *Commands) {
275275
},
276276
})
277277

278+
c.Add(Command{
279+
Prefix: "/shrug",
280+
Handler: func(room *Room, msg message.CommandMsg) error {
281+
var me string
282+
args := msg.Args()
283+
if len(args) == 0 {
284+
me = `¯\_(ツ)_/¯`
285+
}
286+
287+
room.Send(message.NewEmoteMsg(me, msg.From()))
288+
return nil
289+
},
290+
})
291+
278292
c.Add(Command{
279293
Prefix: "/timestamp",
280294
Help: "Timestamps after 30min of inactivity.",

0 commit comments

Comments
 (0)