add utils.py
This commit is contained in:
parent
db61080a49
commit
ffb4b743aa
|
@ -1,6 +1,9 @@
|
||||||
|
import utils
|
||||||
|
|
||||||
def cmd(line, srv):
|
def cmd(line, srv):
|
||||||
splitted = line.params[1].split(' ')
|
splitted = line.params[1].split(' ')
|
||||||
command = splitted[0][1:]
|
command = splitted[0][1:]
|
||||||
if command == "load":
|
if command == "load":
|
||||||
srv.load_mod(splitted[1])
|
srv.load_mod(splitted[1])
|
||||||
print("loaded")
|
utils.message(srv, line.params[0],
|
||||||
|
"loaded: " + splitted[1])
|
||||||
|
|
Loading…
Reference in New Issue