mirror of
https://github.com/Rudi9719/kbtui.git
synced 2026-03-23 07:57:23 +00:00
24 lines
416 B
Go
24 lines
416 B
Go
// +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:], " "))
|
|
}
|