diff --git a/src/discordbot/discordbot.py b/src/discordbot/discordbot.py index 7a3b614..0c28882 100644 --- a/src/discordbot/discordbot.py +++ b/src/discordbot/discordbot.py @@ -74,9 +74,9 @@ async def time(ctx): async def now(ctx): await ctx.channel.send(query_playhead()) -@bot.command(name='help') +@bot.command(name='usage') 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) # Helper functions diff --git a/variables.env.dist b/variables.env.dist index e65e9e2..a16137a 100644 --- a/variables.env.dist +++ b/variables.env.dist @@ -8,4 +8,4 @@ SCHEDULER_LOG_LEVEL=warn SCHEDULER_API_HOSTNAME=tv.example.com DISCORDBOT_TOKEN=changeme DISCORDBOT_LIVE_CHANNEL_ID=0 -DISCORDBOT_LIVE_CHANNEL_UPDATE=5 \ No newline at end of file +DISCORDBOT_LIVE_CHANNEL_UPDATE=5