Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -50,9 +50,10 @@ async def on_ready():
|
|
50 |
print("------")
|
51 |
|
52 |
|
53 |
-
@
|
54 |
-
async def on_member_join(
|
55 |
-
|
|
|
56 |
|
57 |
|
58 |
# running in thread
|
|
|
50 |
print("------")
|
51 |
|
52 |
|
53 |
+
@client.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}>")
|
57 |
|
58 |
|
59 |
# running in thread
|