/|ĶÎŦÃŖŮ|\
DIAdiscord.js - Imagine an app
•Created by /|ĶÎŦÃŖŮ|\ on 2/27/2024 in #djs-questions
Question about getting a user from his ID
In short I get the userid from the database with mutes and pass it to
const member = guild.members.cache.get(row.id);
but when the bot needs to remove the role, it logs me an error:
02/27 11:14:01 [Bot] member.roles.remove(mutedRoleId);
27.02 11:14:01 [Bot] ^
02/27 11:14:01 [Bot] TypeError: Cannot read properties of undefined (reading 'roles')
25 replies
DIAdiscord.js - Imagine an app
•Created by /|ĶÎŦÃŖŮ|\ on 2/26/2024 in #djs-questions
Trouble with fetch roles in command
5 replies
DIAdiscord.js - Imagine an app
•Created by /|ĶÎŦÃŖŮ|\ on 2/26/2024 in #djs-questions
Sorry if this is off topic.
Sorry if this is off topic, I would like to ask you to evaluate the code and, if possible, suggest what to work on.
At the moment I am training in code layering and structurization, I also try to optimize as much as possible, I know few functions, but they will tell you something.
2 replies
DIAdiscord.js - Imagine an app
•Created by /|ĶÎŦÃŖŮ|\ on 2/19/2024 in #djs-questions
Counting voice
Uncorrected counting voice channels members
14 replies
DIAdiscord.js - Imagine an app
•Created by /|ĶÎŦÃŖŮ|\ on 2/19/2024 in #djs-questions
The problem with counting users in voice channels
The problem with counting users in voice channels, the input to the channel works fine, but the output remains the highest value and the number does not decrease.
5 replies
DIAdiscord.js - Imagine an app
•Created by /|ĶÎŦÃŖŮ|\ on 2/9/2024 in #djs-questions
I haven't fully figured out subcommands yet
This code of my command
command wont show in server, could this be due to the fact that I do not have a file with the main command, but only with a subcommand?
18 replies
DIAdiscord.js - Imagine an app
•Created by /|ĶÎŦÃŖŮ|\ on 2/9/2024 in #djs-questions
Please help me create a slash command
I have a problem when creating a slash command: I want to make it two separate words, but I am faced with the problem of not being able to put a space.
5 replies