add !dig as alias of !dns
This commit is contained in:
parent
e2fbbc2406
commit
2951bfc18f
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ def _parse(value):
|
|||
@utils.export("channelset", utils.FunctionSetting(_parse, "dns-nameserver",
|
||||
"Set DNS nameserver", example="8.8.8.8"))
|
||||
class Module(ModuleManager.BaseModule):
|
||||
@utils.hook("received.command.dig", alias_of="dns")
|
||||
@utils.hook("received.command.dns", min_args=1)
|
||||
def dns(self, event):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue