make !channels PM-only

This commit is contained in:
jesopo 2019-11-27 13:15:14 +00:00
parent e1f527a374
commit 038d6841f1

View file

@ -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):