Skip to content
Snippets Groups Projects
Commit 0427b71d authored by AlineTnl's avatar AlineTnl
Browse files

begin code identity

parent 69b4535f
Branches master
No related tags found
No related merge requests found
......@@ -19,7 +19,18 @@ async def on_ready():
@bot.event
async def on_member_join(member):
print(f"{member.display_name} rendez-vous dans le channel iddentité ;) ")
print(f"{member.display_name} Rendez-vous dans le channel identité ;) ")
#https://nouvelle-techno.fr/articles/connecter-un-bot-discord-a-une-base-de-donnees
@bot.event(name="identity")
async def on_message(message):
if message.content.startswith("Je suis : "):
test = message.content.split()[0]
print(test)
# bloquer si ce n'est pas une présentation ?
@bot.command(name="add_archive")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment