mirror of
https://gitlab.com/simple-stock-bots/simple-discord-stock-bot.git
synced 2025-07-31 10:31:39 +00:00
added help link
This commit is contained in:
4
bot.py
4
bot.py
@@ -22,6 +22,10 @@ async def on_message(message):
|
||||
await message.channel.send(reply)
|
||||
else:
|
||||
await message.channel.send("No tickers found.")
|
||||
elif message.content.startswith('/help'):
|
||||
"""Send link to docs when the command /help is issued."""
|
||||
message = "[Please see the docs for Bot information](https://simple-stock-bots.gitlab.io/site/discord/)"
|
||||
await message.channel.send(message)
|
||||
# If no commands, check for any tickers.
|
||||
else:
|
||||
replies = tickerDataReply(getTickers(message.content))
|
||||
|
Reference in New Issue
Block a user