Skip to content

Commit

Permalink
added mlh command in help
Browse files Browse the repository at this point in the history
  • Loading branch information
starlightknown committed Jul 11, 2021
1 parent df6e3eb commit 11564fd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"python.formatting.provider": "black",
"python.linting.flake8Enabled": true
}
1 change: 1 addition & 0 deletions cogs/Help.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ async def help(self, ctx, argument=None, page = None):
'**hug**\ngives a hug with intensity 0,6,9,10\n**Usage:** `cyb!hug <member> <intensity>`\n\n'
'**botstats**\nShows the bot\'s statistics\n**Usage:** `cyb!botstats`\n\n'
'**hackclub**\nShows the hack club\'s upcoming hackathons\n**Usage:** `cyb!hackclub`\n\n'
'**mlh**\nShows the MLH\'s upcoming hackathons\n**Usage:** `cyb!mlh`\n\n'
'**search**\nSearch anythong on google\n**Usage:** `cyb!search <query>`\n\n'
'**advsearch**\nDo an advance search\n**Usage:** `cyb!advsearch <query>`\n\n'
'**calm**\nHelps you calm down, Take a deep breath\n**Usage:** `cyb!calm`\n\n'
Expand Down
2 changes: 1 addition & 1 deletion cogs/Utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async def hackdclub_error(self, ctx, error):
await ctx.send(f'An error occured \n```\n{error}\n```\nPlease check console for traceback, or raise an issue to cyberon')
raise error

@commands.command()
@commands.command(name="mlh")
@cooldown(1, 2, BucketType.channel)
async def mlh(self, ctx):
url = 'https://mlh.io/seasons/2022/events'
Expand Down

0 comments on commit 11564fd

Please sign in to comment.