mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-03 23:17:52 +02:00
Update tinvite
This commit is contained in:
@@ -61,7 +61,7 @@ module.exports = {
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (team) {
|
if (team) {
|
||||||
return message.channel.reply(
|
return message.reply(
|
||||||
"<@" + userToInvite.id + "> a déjà une team",
|
"<@" + 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({
|
return message.reply({
|
||||||
embeds: [
|
embeds: [
|
||||||
new EmbedBuilder()
|
new EmbedBuilder()
|
||||||
|
|||||||
Reference in New Issue
Block a user