diff options
Diffstat (limited to 'modules/hash.py')
| -rw-r--r-- | modules/hash.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/hash.py b/modules/hash.py index 86657bd1..19f0591f 100644 --- a/modules/hash.py +++ b/modules/hash.py @@ -1,9 +1,9 @@ import hashlib class Module(object): - def __init__(self, bot): + def __init__(self, bot, events): self.bot = bot - bot.events.on("received").on("command").on("hash" + events.on("received").on("command").on("hash" ).hook(self.hash, min_args=2, help="Hash a string", usage="<algo> <string>") |
