From f225c3b2d14c91b04c784ac51881cdf01538bca5 Mon Sep 17 00:00:00 2001 From: Anson Biggs Date: Thu, 11 Feb 2021 18:14:20 -0700 Subject: [PATCH] Close #5 --- bot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index c5d62f4..fb4a068 100644 --- a/bot.py +++ b/bot.py @@ -34,8 +34,9 @@ async def on_ready(): print("------") -@bot.event -async def on_message(message): +@bot.command() +async def donate(ctx): + await ctx.send(s.donate_text) if message.author == client.user: return