Grammar is important

This commit is contained in:
jesopo 2018-08-05 20:43:42 +01:00
parent 6a7369f7de
commit b128eb170b

View file

@ -8,7 +8,7 @@ class Module(object):
bot.events.on("received").on("command").on("beenpwned").hook( bot.events.on("received").on("command").on("beenpwned").hook(
self.beenpwned, min_args=1, self.beenpwned, min_args=1,
help="Find out if a username, email or similar has appeared " help="Find out if a username, email or similar has appeared "
"in any hacked databased", usage="<username/email>") "in any hacked databases", usage="<username/email>")
def beenpwned(self, event): def beenpwned(self, event):
page = Utils.get_url(URL_HAVEIBEENPWNEDAPI % event["args"], json=True, page = Utils.get_url(URL_HAVEIBEENPWNEDAPI % event["args"], json=True,