Update tinvite

This commit is contained in:
*x1
2024-06-27 15:18:02 +02:00
parent 6ecced3e1d
commit a0bc8ebf79
+2 -2
View File
@@ -61,7 +61,7 @@ module.exports = {
});
if (team) {
return message.channel.reply(
return message.reply(
"<@" + userToInvite.id + "> a déjà une team",
);
}
@@ -77,7 +77,7 @@ module.exports = {
);
});
if (!user || user.teamRole !== "owner" || user.teamRole !== "officer") {
if ((!user.teamRole == "owner") || (!user.teamRole == "officer")) {
return message.reply({
embeds: [
new EmbedBuilder()