Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ async def on_ready():
|
|
50 |
print("------")
|
51 |
|
52 |
|
53 |
-
@
|
54 |
async def on_member_join(mb):
|
55 |
channelv0 = discord.utils.get(mb.guild.channels, name = "👋wellcome-goodbye")
|
56 |
await channelv0.send(f"Welcome to server, <@{mb.id}>")
|
|
|
50 |
print("------")
|
51 |
|
52 |
|
53 |
+
@bot.event
|
54 |
async def on_member_join(mb):
|
55 |
channelv0 = discord.utils.get(mb.guild.channels, name = "👋wellcome-goodbye")
|
56 |
await channelv0.send(f"Welcome to server, <@{mb.id}>")
|