!help is a reserved word
This commit is contained in:
parent
c20ade8879
commit
c3b430b56d
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -8,4 +8,4 @@ SCHEDULER_LOG_LEVEL=warn
|
||||||
SCHEDULER_API_HOSTNAME=tv.example.com
|
SCHEDULER_API_HOSTNAME=tv.example.com
|
||||||
DISCORDBOT_TOKEN=changeme
|
DISCORDBOT_TOKEN=changeme
|
||||||
DISCORDBOT_LIVE_CHANNEL_ID=0
|
DISCORDBOT_LIVE_CHANNEL_ID=0
|
||||||
DISCORDBOT_LIVE_CHANNEL_UPDATE=5
|
DISCORDBOT_LIVE_CHANNEL_UPDATE=5
|
||||||
|
|
Loading…
Reference in a new issue