made websockets able to run functions
This commit is contained in:
@@ -2,7 +2,7 @@ from printColors import PrintColors
|
||||
|
||||
def py_print(*args: str):
|
||||
print(
|
||||
PrintColors.FG.blue + "Py" + PrintColors.Special.reset,
|
||||
PrintColors.FG.blue + "Py",
|
||||
"-",
|
||||
" ".join(args)
|
||||
)
|
||||
@@ -10,7 +10,7 @@ def py_print(*args: str):
|
||||
def py_error(*args: str):
|
||||
print(
|
||||
PrintColors.BG.red + "ERROR" + PrintColors.Special.reset,
|
||||
PrintColors.FG.blue + "Py" + PrintColors.Special.reset,
|
||||
PrintColors.FG.blue + "Py",
|
||||
"-",
|
||||
" ".join(args)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user