Refactors hooks registration
This commit is contained in:
parent
49d7e4ced6
commit
f39a0eac56
40 changed files with 202 additions and 168 deletions
|
|
@ -16,7 +16,7 @@ URL = 'https://ctftime.org/event/list/upcoming'
|
|||
|
||||
# MODULE INTERFACE ####################################################
|
||||
|
||||
@hook("cmd_hook", "ctfs",
|
||||
@hook.command("ctfs",
|
||||
help="Display the upcoming CTFs")
|
||||
def get_info_yt(msg):
|
||||
soup = BeautifulSoup(getURLContent(URL))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue