on_member_join only affects Enso

pull/4/head
sgoudham 4 years ago
parent 08d4a6ae8f
commit 300f148c42

@ -59,7 +59,7 @@ async def ping(ctx):
async def on_member_join(member): async def on_member_join(member):
# Set the channel id to "newpeople" # Set the channel id to "newpeople"
guild = member.guild guild = member.guild
if guild.id == 663651584399507476: if guild.id != 663651584399507476:
return return
else: else:
new_people = guild.get_channel(669771571337887765) new_people = guild.get_channel(669771571337887765)

Loading…
Cancel
Save