Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
react to messages in introduction channel (kickstarts intro to exp stuff, leveling, verification)
Browse files
app.py
CHANGED
|
@@ -56,7 +56,14 @@ async def on_member_join(member):
|
|
| 56 |
|
| 57 |
else:
|
| 58 |
print(f"welcome_list: {welcome_list}")
|
| 59 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
|
| 61 |
DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
|
| 62 |
def run_bot():
|
|
|
|
| 56 |
|
| 57 |
else:
|
| 58 |
print(f"welcome_list: {welcome_list}")
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
@bot.event
|
| 62 |
+
async def on_message(message):
|
| 63 |
+
if message.channel.id == 900017973547388988:
|
| 64 |
+
await message.add_reaction('🤗')
|
| 65 |
+
await client.process_commands(message)
|
| 66 |
+
|
| 67 |
|
| 68 |
DISCORD_TOKEN = os.environ.get("DISCORD_TOKEN", None)
|
| 69 |
def run_bot():
|