mirror of https://github.com/Rudi9719/kbtui.git
Gregory Rudolph
5 years ago
1 changed files with 23 additions and 0 deletions
@ -0,0 +1,23 @@ |
|||||||
|
// +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:], " ")) |
||||||
|
} |
Loading…
Reference in new issue