remove shlex from echo.py
This commit is contained in:
parent
6c9a04a3ef
commit
7a7610acb8
1 changed files with 0 additions and 3 deletions
|
@ -5,7 +5,6 @@ from src import ModuleManager, utils
|
|||
class Module(ModuleManager.BaseModule):
|
||||
@utils.hook("received.command.echo")
|
||||
@utils.kwarg("min_args", 1)
|
||||
@utils.kwarg("argparse", "shlex")
|
||||
@utils.kwarg("remove_empty", False)
|
||||
@utils.kwarg("help", "Echo a string back")
|
||||
def echo(self, event):
|
||||
|
@ -15,7 +14,6 @@ class Module(ModuleManager.BaseModule):
|
|||
@utils.kwarg("min_args", 1)
|
||||
@utils.kwarg("expect_output", False)
|
||||
@utils.kwarg("remove_empty", False)
|
||||
@utils.kwarg("argparse", "shlex")
|
||||
@utils.kwarg("help", "Make the bot send a /me")
|
||||
def action(self, event):
|
||||
event["target"].send_message("\x01ACTION %s\x01" % event["args"])
|
||||
|
@ -24,7 +22,6 @@ class Module(ModuleManager.BaseModule):
|
|||
@utils.kwarg("min_args", 2)
|
||||
@utils.kwarg("permission", "say")
|
||||
@utils.kwarg("remove_empty", False)
|
||||
@utils.kwarg("argparse", "shlex")
|
||||
@utils.kwarg("help", "Send a message to a target")
|
||||
def msg(self, event):
|
||||
event["server"].send_message(event["args_split"][0],
|
||||
|
|
Loading…
Reference in a new issue