1
0
mirror of https://gitlab.com/simple-stock-bots/simple-discord-stock-bot.git synced 2025-06-15 23:06:40 +00:00

formating and adding rest of commands.

This commit is contained in:
Anson Biggs 2021-02-11 18:01:55 -07:00
parent 9e02d692f4
commit 819343e440

35
bot.py
View File

@ -55,21 +55,16 @@ async def donate(ctx, cmd: str):
await ctx.send("donate:" + cmd)
@bot.command()
async def stat(ctx, cmd: str):
await ctx.send("stat:" + cmd)
@bot.command()
async def dividend(ctx, cmd: str):
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()
async def news(ctx, cmd: str):
await ctx.send("news:" + cmd)
@ -81,13 +76,23 @@ async def info(ctx, cmd: str):
@bot.command()
async def stat(ctx, cmd: str):
await ctx.send("stat:" + cmd)
async def search(ctx, cmd: str):
await ctx.send("search:" + cmd)
# @bot.command()
# async def help(ctx, cmd: str):
# await ctx.send("help:" + 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()
async def crypto(ctx, cmd: str):
await ctx.send("crypto" + cmd)
s = Symbol(IEX_TOKEN)