mirror of
https://gitlab.com/simple-stock-bots/simple-discord-stock-bot.git
synced 2025-06-16 07:16:41 +00:00
formating and adding rest of commands.
This commit is contained in:
parent
9e02d692f4
commit
819343e440
35
bot.py
35
bot.py
@ -55,21 +55,16 @@ async def donate(ctx, cmd: str):
|
|||||||
await ctx.send("donate:" + cmd)
|
await ctx.send("donate:" + cmd)
|
||||||
|
|
||||||
|
|
||||||
|
@bot.command()
|
||||||
|
async def stat(ctx, cmd: str):
|
||||||
|
await ctx.send("stat:" + cmd)
|
||||||
|
|
||||||
|
|
||||||
@bot.command()
|
@bot.command()
|
||||||
async def dividend(ctx, cmd: str):
|
async def dividend(ctx, cmd: str):
|
||||||
await ctx.send("dividend:" + cmd)
|
await ctx.send("dividend:" + cmd)
|
||||||
|
|
||||||
|
|
||||||
@bot.command()
|
|
||||||
async def intra(ctx, cmd: str):
|
|
||||||
await ctx.send("intra:" + cmd)
|
|
||||||
|
|
||||||
|
|
||||||
@bot.command()
|
|
||||||
async def chart(ctx, cmd: str):
|
|
||||||
await ctx.send("chart:" + cmd)
|
|
||||||
|
|
||||||
|
|
||||||
@bot.command()
|
@bot.command()
|
||||||
async def news(ctx, cmd: str):
|
async def news(ctx, cmd: str):
|
||||||
await ctx.send("news:" + cmd)
|
await ctx.send("news:" + cmd)
|
||||||
@ -81,13 +76,23 @@ async def info(ctx, cmd: str):
|
|||||||
|
|
||||||
|
|
||||||
@bot.command()
|
@bot.command()
|
||||||
async def stat(ctx, cmd: str):
|
async def search(ctx, cmd: str):
|
||||||
await ctx.send("stat:" + cmd)
|
await ctx.send("search:" + cmd)
|
||||||
|
|
||||||
|
|
||||||
# @bot.command()
|
@bot.command()
|
||||||
# async def help(ctx, cmd: str):
|
async def intra(ctx, cmd: str):
|
||||||
# await ctx.send("help:" + cmd)
|
await ctx.send("intra:" + cmd)
|
||||||
|
|
||||||
|
|
||||||
|
@bot.command()
|
||||||
|
async def chart(ctx, cmd: str):
|
||||||
|
await ctx.send("chart:" + cmd)
|
||||||
|
|
||||||
|
|
||||||
|
@bot.command()
|
||||||
|
async def crypto(ctx, cmd: str):
|
||||||
|
await ctx.send("crypto" + cmd)
|
||||||
|
|
||||||
|
|
||||||
s = Symbol(IEX_TOKEN)
|
s = Symbol(IEX_TOKEN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user