diff options
Diffstat (limited to 'modules/hash.py')
| -rw-r--r-- | modules/hash.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/hash.py b/modules/hash.py index 4508d613..04b2f99c 100644 --- a/modules/hash.py +++ b/modules/hash.py @@ -2,10 +2,11 @@ import hashlib from src import ModuleManager, Utils class Module(ModuleManager.BaseModule): - @Utils.hook("received.command.hash", min_args=2, usage="<algo> <string>") + @Utils.hook("received.command.hash", min_args=2) def hash(self, event): """ - Hash a given string with a given algorithm + :help: Hash a given string with a given algorithm + :usage: <algo> <string> """ algorithm = event["args_split"][0].lower() if algorithm in hashlib.algorithms_available: |
