wop commited on
Commit
972b032
1 Parent(s): 8278126

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ async def on_ready():
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}>")
 
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}>")