make !channels PM-only
This commit is contained in:
parent
e1f527a374
commit
038d6841f1
1 changed files with 1 additions and 0 deletions
|
@ -159,6 +159,7 @@ class Module(ModuleManager.BaseModule):
|
|||
" ".join(sorted(channels)))
|
||||
|
||||
@utils.hook("received.command.servers")
|
||||
@utils.kwarg("private_only", True)
|
||||
@utils.kwarg("help", "List all servers (* = connected)")
|
||||
@utils.kwarg("permission", "listservers")
|
||||
def servers_command(self, event):
|
||||
|
|
Loading…
Reference in a new issue