mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-04-13 15:47:17 +03:00
/shrug ¯\_(ツ)_/¯
This commit is contained in:
parent
87dd859fed
commit
d73aae0f15
@ -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.",
|
||||
|
Loading…
x
Reference in New Issue
Block a user