This commit is contained in:
Gregory Rudolph
2019-10-03 12:10:14 -04:00
parent 898b6369aa
commit dfe0f0b27a
6 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ import (
func init() { func init() {
command := Command{ command := Command{
Cmd: []string{"download", "d"}, Cmd: []string{"download", "d"},
Description: "/d $messageId $fileName - Download a file to user's downloadpath", Description: "$messageId $fileName - Download a file to user's downloadpath",
Help: "", Help: "",
Exec: cmdDownloadFile, Exec: cmdDownloadFile,
} }

View File

@ -10,7 +10,7 @@ import (
func init() { func init() {
command := Command{ command := Command{
Cmd: []string{"help", "h"}, Cmd: []string{"help", "h"},
Description: "/h Show information about available commands", Description: "Show information about available commands",
Help: "", Help: "",
Exec: cmdHelp, Exec: cmdHelp,
} }

View File

@ -11,7 +11,7 @@ import (
func init() { func init() {
command := Command{ command := Command{
Cmd: []string{"join", "j"}, Cmd: []string{"join", "j"},
Description: "/j $team/user $channel - Join a chat, $user or $team $channel", Description: "$team/user $channel - Join a chat, $user or $team $channel",
Help: "", Help: "",
Exec: cmdJoin, Exec: cmdJoin,
} }

View File

@ -7,7 +7,7 @@ import "strconv"
func init() { func init() {
command := Command{ command := Command{
Cmd: []string{"react", "r", "+"}, Cmd: []string{"react", "r", "+"},
Description: "/r $messageId $reaction - React to a message (messageID is optional)", Description: "$messageId $reaction - React to a message (messageID is optional)",
Help: "", Help: "",
Exec: cmdReact, Exec: cmdReact,
} }

View File

@ -5,7 +5,7 @@ package main
func init() { func init() {
command := Command{ command := Command{
Cmd: []string{"stream", "s"}, Cmd: []string{"stream", "s"},
Description: "/s - Stream all incoming messages", Description: "- Stream all incoming messages",
Help: "", Help: "",
Exec: cmdStream, Exec: cmdStream,
} }

View File

@ -9,7 +9,7 @@ import (
func init() { func init() {
command := Command{ command := Command{
Cmd: []string{"upload", "u"}, Cmd: []string{"upload", "u"},
Description: "/u $filePath $fileName - Upload file with optional name", Description: "$filePath $fileName - Upload file with optional name",
Help: "", Help: "",
Exec: cmdUploadFile, Exec: cmdUploadFile,
} }