small changes
This commit is contained in:
parent
77b1a93b30
commit
d3b3a62f28
5 changed files with 27 additions and 19 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue