small changes

This commit is contained in:
Lobo 2025-10-16 12:29:45 -03:00
parent 77b1a93b30
commit d3b3a62f28
5 changed files with 27 additions and 19 deletions

View file

@ -26,6 +26,10 @@ func initCommandMap() {
}
app.AppendSystemMessage("commands: %s", s.String())
},
"send": func(app *App, rest string) {
app.AppendMessage(rest)
app.outgoing <- MessageEvent(rest)
},
"dial": func(app *App, rest string) {
args := strings.Fields(rest)
if len(args) < 1 || len(args) > 2 {