grim/wasdead

Some command tweaks
draft
2019-05-11, Gary Kramlich
4448d4b794c1
Parents 156164f35081
Children a06926950b53
Some command tweaks
--- a/discord/commands.go Sat May 11 22:54:27 2019 -0500
+++ b/discord/commands.go Sat May 11 23:26:14 2019 -0500
@@ -22,6 +22,7 @@
Globals
Help HelpCmd `kong:"cmd,help='displays this help message'"`
+ Order66 Order66Cmd `kong:"cmd,hidden"`
SetChannel SetChannelCmd `kong:"cmd,help='set the current channel as the channel to announce new streams'"`
ShowConfig ShowConfigCmd `kong:"cmd,help='show the configuration for the current guild.'"`
Status StatusCmd `kong:"cmd,help='get the streaming status of someone'"`
@@ -52,6 +53,13 @@
return nil
}
+type Order66Cmd struct{}
+
+func (c *Order66Cmd) Run(g *Globals) error {
+ g.client.sendChannel(g.msg.ChannelID, "yes my lord")
+ return nil
+}
+
type SetChannelCmd struct{}
func (c *SetChannelCmd) Run(g *Globals) error {