Changing it so that it pings me when a new member has joined the discord

pull/2/head
sgoudham 4 years ago
parent 707d3f24d0
commit a4c778909d

@ -79,13 +79,13 @@ async def on_member_join(member):
# Send embed to #newpeople # Send embed to #newpeople
await new_people.send(embed=embed) await new_people.send(embed=embed)
# Set izzyID equal to my id in discord # Set hamothyID equal to my id in discord
izzyID = '<@&664585078487252993>' hamothyID = '<@&715412394968350756>'
# String for welcoming people in the #general channel # String for welcoming people in the #general channel
general_welcome = f"Welcome to the server! {member.mention} I hope you enjoy your stay here <a:huh:676195228872474643> <a:huh:676195228872474643> " \ general_welcome = f"Welcome to the server! {member.mention} I hope you enjoy your stay here <a:huh:676195228872474643> <a:huh:676195228872474643> " \
f"\nPlease go into <#722347423913213992> to choose some ping-able roles for events! " \ f"\nPlease go into <#722347423913213992> to choose some ping-able roles for events! " \
f"\nPlease ping {izzyID} for any questions about the server and of course, the other staff members!" f"\nPlease ping {hamothyID} for any questions about the server and of course, the other staff members!"
# Send welcome message to #general # Send welcome message to #general
await general.send(general_welcome) await general.send(general_welcome)

Loading…
Cancel
Save