python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
DiscordJS GuildMemberRoleManager doesn't have a cache
I'm trying to see if a user has a role with discordjs v13. I'm using typescript as well.
On multiple posts, I've seen people use this code:
function handleCommand(interaction: CommandInteraction) {
.....
oriont
Votes: 0
Answers: 1
How to check if mentioned user's roles are higher than message author's roles?
I'm making a mute command, and I want to check if the role of the author is higher than the role of the mentioned user.
This is what I tried
let mentionedrole = message.mentions.roles.first();
...

Just RedX
Votes: 0
Answers: 1
JSON file array discord.js
i want the user when take the role , the bot send to him 1 line from the lines in json file but it send all lines i just want in order one by one like if he take the role first time the bot send uncle...
Mark1233
Votes: 0
Answers: 1
how to get a list of all id roles from a discord server
I actually want to create 2 lists: one containing the role id and the other one containing the role names. I have tried to read the API (https://discord.com/developers/docs/resources/guild#get-guild-r...
ChaBoxxHF
Votes: 0
Answers: 1