!help is a reserved word

This commit is contained in:
deflax 2024-01-17 18:00:39 +02:00
parent c20ade8879
commit c3b430b56d
2 changed files with 3 additions and 3 deletions

View file

@ -74,9 +74,9 @@ async def time(ctx):
async def now(ctx): async def now(ctx):
await ctx.channel.send(query_playhead()) await ctx.channel.send(query_playhead())
@bot.command(name='help') @bot.command(name='usage')
async def help(ctx): async def help(ctx):
usage = "```- !help - usage\n- !time - show current time\n- !epg list scheduled streams\n- !now - display whats playing now\n- !hello says hi :)```" usage = "```- !usage - usage\n- !time - show current time\n- !epg list scheduled streams\n- !now - display whats playing now\n- !hello says hi :)```"
await ctx.channel.send(usage) await ctx.channel.send(usage)
# Helper functions # Helper functions