tenfy
DIAdiscord.js - Imagine an app
•Created by tenfy on 6/6/2024 in #djs-questions
Can't set role icon
Discord.js version: 14.15.3 Node version: v20.5.1Code: I get no errors, so i have no idea what to do. The bot has Administrator permissions.
3 replies
DIAdiscord.js - Imagine an app
•Created by tenfy on 4/19/2023 in #djs-questions
DiscordAPIError[0]: 405: Method Not Allowed
Hello, i have this code:
it works fine and removes users from thread, but every time i get error message:
Ty for help ![catKiss](https://cdn.discordapp.com/emojis/1051050996853383230.gif)
![catKiss](https://cdn.discordapp.com/emojis/1051050996853383230.gif)
7 replies
DIAdiscord.js - Imagine an app
•Created by tenfy on 3/27/2023 in #djs-questions
Select menu
When I select an option in the select menu, it changes the message as I need, but then clicks the button itself.
https://sourceb.in/VaOKb5cNrh
https://sourceb.in/cSdgoTX6Uj
6 replies
DIAdiscord.js - Imagine an app
•Created by tenfy on 3/19/2023 in #djs-questions
Guilds count in shards
How can I get the number of guilds in a shard in my index js file?
4 replies
DIAdiscord.js - Imagine an app
•Created by tenfy on 3/15/2023 in #djs-questions
voice system
I have this code:
But when i leave my channel i get an error:
TypeError: Cannot read properties of undefined (reading 'id')
at Object.execute (D:\job\Discord\Salvation\Events\Voice\voiceStateUpdate.js:39:63)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:394:10)
at process.processTicksAndRejections (node:internal/process/task_queues:84:21)
8 replies
DIAdiscord.js - Imagine an app
•Created by tenfy on 2/25/2023 in #djs-questions
TypeError: conn.send is not a function
I have 2 files and i need to import variable from one to another, but it doesn't work
https://sourceb.in/q25DwZCRmI
https://sourceb.in/LevK9HoTqj
3 replies
DIAdiscord.js - Imagine an app
•Created by tenfy on 2/15/2023 in #djs-questions
TypeError: Cannot read properties of undefined (reading 'getTextInputValue')
https://sourceb.in/GVG52tboOv this is my JavaScript file. I want when I send modal it will send value of textinput into console just for test, but I`m having an error: TypeError: Cannot read properties of undefined (reading 'getTextInputValue')
15 replies