mirror of
https://gitlab.com/simple-stock-bots/simple-discord-stock-bot.git
synced 2025-06-16 23:26:53 +00:00
Close #12
This commit is contained in:
parent
141abd6f76
commit
10554c6f64
11
bot.py
11
bot.py
@ -66,13 +66,12 @@ async def dividend(ctx, cmd: str):
|
|||||||
|
|
||||||
|
|
||||||
@bot.command()
|
@bot.command()
|
||||||
async def news(ctx, cmd: str):
|
async def info(ctx, sym: str):
|
||||||
await ctx.send("news:" + cmd)
|
symbols = s.find_symbols(sym)
|
||||||
|
|
||||||
|
if symbols:
|
||||||
@bot.command()
|
for reply in s.info_reply(symbols).items():
|
||||||
async def info(ctx, cmd: str):
|
await ctx.send(reply[1])
|
||||||
await ctx.send("info:" + cmd)
|
|
||||||
|
|
||||||
|
|
||||||
@bot.command()
|
@bot.command()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user