changement message de bienvenue
This commit is contained in:
parent
22e6d73a36
commit
d0b3a904b0
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class ConfrerieDuKassoulait(commands.Cog):
|
||||||
role = discord.utils.get(member.guild.roles, name = "Copain")
|
role = discord.utils.get(member.guild.roles, name = "Copain")
|
||||||
await member.add_roles(role)
|
await member.add_roles(role)
|
||||||
try: # DM possiblement fermé
|
try: # DM possiblement fermé
|
||||||
await member.send(f"Coucou **{member.name}** sur {member.guild.name} ! 🥰\n\nJ'te donne le rôle de **{role}** 💖!")
|
await member.send(f"Coucou **{member.name}** dans **{member.guild.name}** ! 🥰\n\nJ'te donne le rôle de **{role}** 💖!")
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
channel = self.client.get_channel(741639570172674120) # salons des arrivées
|
channel = self.client.get_channel(741639570172674120) # salons des arrivées
|
||||||
|
|
Reference in a new issue