diff options
| author | 2018-09-19 13:25:12 +0100 | |
|---|---|---|
| committer | 2018-09-19 13:25:12 +0100 | |
| commit | fcbb7c960ce8c9b693711b4b40d3fa86fd17d7cf (patch) | |
| tree | 0015e3da000323b8f576f3303807176f1f4ea794 /modules/dns.py | |
| parent | Fix some styling in ducks.py (diff) | |
| signature | ||
Refactor everything to use delimited events
Diffstat (limited to 'modules/dns.py')
| -rw-r--r-- | modules/dns.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/dns.py b/modules/dns.py index 112fcf43..e5552aa8 100644 --- a/modules/dns.py +++ b/modules/dns.py @@ -3,8 +3,7 @@ import socket class Module(object): _name = "DNS" def __init__(self, bot, events, exports): - events.on("received").on("command").on("dns").hook( - self.dns, min_args=1, + events.on("received.command.dns").hook(self.dns, min_args=1, help="Get all addresses for a given hostname (IPv4/IPv6)", usage="<hostname>") |
