diff --git a/commands/teams/trep.js b/commands/teams/trep.js index 8250fa2..9149a0f 100644 --- a/commands/teams/trep.js +++ b/commands/teams/trep.js @@ -4,13 +4,13 @@ const embedColor = require('../../fonctions/embedColor.js'); module.exports = { aliases: ['teamrep'], - description: 'Ajoute un point de reputation a une team.', + description: 'Ajoute un point de reputation à une team.', emote: '➕', utilisation: '', permission: 0, async execute(message, args, client) { - if (args[0].length <= 1) { + if (!args[0]) { const embed = new EmbedBuilder() .setTitle('Ajout Impossible') .setDescription(`❌ Veuillez indiquer l'id une team.`) @@ -74,7 +74,7 @@ module.exports = { const embed = new EmbedBuilder() .setTitle('Reputation ajouté !') - .setDescription('Vous avez ajouter une reputation a la team `' + team.name + '`, qui a maintement `' + team.reputation + 1 + '` reputation !') + .setDescription('Vous avez ajouter une reputation à la team `' + team.name + '`, qui a maintement `' + team.reputation + 1 + '` reputation !') .setColor(await embedColor(message.author.id, message.guild.id)) .setTimestamp() .setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() });