mirror of https://github.com/Rudi9719/kbtui.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
416 B
24 lines
416 B
5 years ago
|
// +ignore
|
||
|
// +build allcommands shrugcmd
|
||
|
|
||
|
package main
|
||
|
|
||
|
import "strings"
|
||
|
|
||
|
func init() {
|
||
|
command := Command{
|
||
|
Cmd: []string{"shrug", "shrg"},
|
||
|
Description: "$message - append a shrug ( ¯\\_(ツ)_/¯ )to your message",
|
||
|
Help: "",
|
||
|
Exec: cmdShrug,
|
||
|
}
|
||
|
|
||
|
RegisterCommand(command)
|
||
|
}
|
||
|
|
||
|
func cmdShrug(cmd []string) {
|
||
|
cmd = append(cmd, " ¯\\_(ツ)_/¯")
|
||
|
|
||
|
sendChat(strings.Join(cmd[1:], " "))
|
||
|
}
|