mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-09 18:39:21 +02:00
add alias systeme create , remove and list
This commit is contained in:
@@ -30,6 +30,11 @@ module.exports = {
|
||||
await interaction.reply({ content: "vous n'avez pas la permission de suprimer cette suggestion.", ephemeral: true });
|
||||
return;
|
||||
}
|
||||
if (!PrevnameDb.has(userId)) {
|
||||
await interaction.reply({ content: "Vous n'avez aucun prevname à supprimer.", ephemeral: true });
|
||||
return;
|
||||
}
|
||||
|
||||
await PrevnameDb.delete(userId)
|
||||
await interaction.reply({ content: "Vos prevname on etait correctement supprimer.", ephemeral: true });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user