mirror of
https://github.com/shazow/ssh-chat.git
synced 2025-09-24 03:42:32 -04:00
Fix small issues with the help message
This commit is contained in:
parent
5a7db119fa
commit
58d26ca479
2
host.go
2
host.go
@ -423,7 +423,7 @@ func (h *Host) InitCommands(c *chat.Commands) {
|
|||||||
Op: true,
|
Op: true,
|
||||||
Prefix: "/motd",
|
Prefix: "/motd",
|
||||||
PrefixHelp: "[MESSAGE]",
|
PrefixHelp: "[MESSAGE]",
|
||||||
Help: "Set a new message of the day, print current motd without parameters",
|
Help: "Set a new MESSAGE of the day, print the current motd without parameters.",
|
||||||
Handler: func(room *chat.Room, msg message.CommandMsg) error {
|
Handler: func(room *chat.Room, msg message.CommandMsg) error {
|
||||||
args := msg.Args()
|
args := msg.Args()
|
||||||
user := msg.From()
|
user := msg.From()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user