mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-03 15:07:20 +02:00
Update tinvite
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user