Skip to content

Commit

Permalink
block rp with bot
Browse files Browse the repository at this point in the history
  • Loading branch information
luarrekcah committed Mar 19, 2023
1 parent b50624d commit 82340ce
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions commands/rp/cafune.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ module.exports = {
});
}

if (user.user.bot) {
return interaction.reply({
content: 'Você não pode interagir com um bot.',
});
}

const friendshipID = Number(user.user.id) + Number(interaction.user.id);

const randomPoints = Math.floor(Math.random() * (260 - 60 + 1)) + 60;
Expand Down

0 comments on commit 82340ce

Please sign in to comment.