aboutsummaryrefslogtreecommitdiff
path: root/modules/haveibeenpwned.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/haveibeenpwned.py')
-rw-r--r--modules/haveibeenpwned.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/haveibeenpwned.py b/modules/haveibeenpwned.py
index 0a328c3e..62566823 100644
--- a/modules/haveibeenpwned.py
+++ b/modules/haveibeenpwned.py
@@ -4,12 +4,12 @@ URL_HAVEIBEENPWNEDAPI = "https://haveibeenpwned.com/api/v2/breachedaccount/%s"
URL_HAVEIBEENPWNED = "https://haveibeenpwned.com/"
class Module(ModuleManager.BaseModule):
- @Utils.hook("received.command.beenpwned", usage="<username/email>",
- min_args=1)
+ @Utils.hook("received.command.beenpwned", min_args=1)
def beenpwned(self, event):
"""
- Find out if a username, email or similar has appeared in any
- hacked databases
+ :help: Find out if a username, email or similar has appeared in any
+ hacked databases
+ :usage: <username/email>
"""
page = Utils.get_url(URL_HAVEIBEENPWNEDAPI % event["args"], json=True,
code=True)