💵
This commit is contained in:
@ -37,7 +37,13 @@ class GamesCog(commands.Cog):
|
||||
# Invest GwendoBucks in the stock market
|
||||
@commands.command(aliases=["i"])
|
||||
async def invest(self, ctx, *, content = "check"):
|
||||
await ctx.send(parseInvest(content,str(ctx.message.author.id)))
|
||||
response = parseInvest(content,"#"+str(ctx.message.author.id))
|
||||
if response.startswith("**"):
|
||||
responses = response.split("\n")
|
||||
em = discord.Embed(title=responses[0],description="\n".join(responses[1:]),colour=0x00FF00)
|
||||
await ctx.send(embed=em)
|
||||
else:
|
||||
await ctx.send(response)
|
||||
|
||||
# Runs a game of trivia
|
||||
@commands.command()
|
||||
|
Reference in New Issue
Block a user