Compare commits

..

No commits in common. "6f658b7fcb71495c1ec7886a40a4c93c883a48a1" and "4bcd5d174d7ddc398994fb7c6423cf921901b38d" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View File

@ -103,11 +103,6 @@ systemctl start discord-account-verification
To configure discord account verification, please modify the configurations of the systemd service according to your needs.
Do not forget to create an application in the Discord Developer Portal and to give the permissions:
- Manage Roles
- Send Messages
- Use Slash Commands
## License
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

View File

@ -229,7 +229,7 @@ async def unverify(interaction: discord.Interaction, id: str) -> None:
if user:
delete_user = c.execute("DELETE FROM users WHERE id = :id", {"id": match})
conn.commit()
role = discord.utils.get(interaction.guild.roles, name="Vérifiés")
role = discord.utils.get(interaction.guild.roles, name="Vérifié")
member = interaction.guild.get_member(int(match))
await member.remove_roles(role)
await interaction.response.send_message(