@ -10,7 +10,7 @@ import (
func init() {
command := Command{
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: "",
Exec: cmdDownloadFile,
}
Cmd: []string{"help", "h"},
Description: "/h Show information about available commands",
Description: "Show information about available commands",
Exec: cmdHelp,
@ -11,7 +11,7 @@ import (
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",
Exec: cmdJoin,
@ -7,7 +7,7 @@ import "strconv"
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)",
Exec: cmdReact,
@ -5,7 +5,7 @@ package main
Cmd: []string{"stream", "s"},
Description: "/s - Stream all incoming messages",
Description: "- Stream all incoming messages",
Exec: cmdStream,
@ -9,7 +9,7 @@ import (
Cmd: []string{"upload", "u"},
Description: "/u $filePath $fileName - Upload file with optional name",
Description: "$filePath $fileName - Upload file with optional name",
Exec: cmdUploadFile,