mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-06 14:20:56 +00:00
Fix console package.
This commit is contained in:
parent
3044bd6d8e
commit
aa084d71ec
1 changed files with 2 additions and 2 deletions
|
@ -8,13 +8,13 @@ import (
|
||||||
|
|
||||||
"github.com/FrankerFaceZ/FrankerFaceZ/socketserver/server"
|
"github.com/FrankerFaceZ/FrankerFaceZ/socketserver/server"
|
||||||
"github.com/FrankerFaceZ/FrankerFaceZ/socketserver/server/rate"
|
"github.com/FrankerFaceZ/FrankerFaceZ/socketserver/server/rate"
|
||||||
"github.com/abiosoft/ishell"
|
"gopkg.in/abiosoft/ishell.v1"
|
||||||
"github.com/gorilla/websocket"
|
"github.com/gorilla/websocket"
|
||||||
)
|
)
|
||||||
|
|
||||||
func commandLineConsole() {
|
func commandLineConsole() {
|
||||||
|
|
||||||
shell := ishell.NewShell()
|
shell := ishell.New()
|
||||||
|
|
||||||
shell.Register("help", func(args ...string) (string, error) {
|
shell.Register("help", func(args ...string) (string, error) {
|
||||||
shell.PrintCommands()
|
shell.PrintCommands()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue