Remove legacy msg.cmds
This commit is contained in:
parent
fde459c3ff
commit
a11ccb2e39
@ -31,11 +31,6 @@ class Command(Abstract):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.cmd + " @" + ",@".join(self.args)
|
return self.cmd + " @" + ",@".join(self.args)
|
||||||
|
|
||||||
@property
|
|
||||||
def cmds(self):
|
|
||||||
# TODO: this is for legacy modules
|
|
||||||
return [self.cmd] + self.args
|
|
||||||
|
|
||||||
|
|
||||||
class OwnerCommand(Command):
|
class OwnerCommand(Command):
|
||||||
|
|
||||||
|
@ -27,8 +27,3 @@ class Response(Abstract):
|
|||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return self.cmd + " @" + ",@".join(self.args)
|
return self.cmd + " @" + ",@".join(self.args)
|
||||||
|
|
||||||
@property
|
|
||||||
def cmds(self):
|
|
||||||
# TODO: this is for legacy modules
|
|
||||||
return [self.cmd] + self.args
|
|
||||||
|
Loading…
Reference in New Issue
Block a user