1
0
mirror of https://gitlab.com/simple-stock-bots/simple-discord-stock-bot.git synced 2025-06-16 15:17:29 +00:00
This commit is contained in:
Anson Biggs 2021-02-11 18:14:20 -07:00
parent 58aed131ef
commit f225c3b2d1

5
bot.py
View File

@ -34,8 +34,9 @@ async def on_ready():
print("------") print("------")
@bot.event @bot.command()
async def on_message(message): async def donate(ctx):
await ctx.send(s.donate_text)
if message.author == client.user: if message.author == client.user:
return return