Toast
DIAdiscord.js - Imagine an app
•Created by kuroiii on 5/26/2024 in #djs-questions
Change Role icon (Emoji)
You aren't really checking the unicode emojis. The wrench emoji in your screenshot is actually unicode and does not have an URL that I'm aware of.
11 replies
DIAdiscord.js - Imagine an app
•Created by Luka on 5/11/2024 in #djs-questions
''Sorry, name can only contain URL-friendly characters''
Not really an error nor issue, it's an user error on your part.
You are trying to type in a command where a package is telling you to input a name.
4 replies
DIAdiscord.js - Imagine an app
•Created by h4ze on 5/10/2024 in #djs-questions
Permissions
Darp is just being mistaken there, ignore it.
35 replies
DIAdiscord.js - Imagine an app
•Created by >crown'ley on 5/6/2024 in #djs-questions
Guys can i run my old code in discord js still?
well, parts of v12 is just slowly deteriorating away, and like others say its recommended to go with v14 and rebuild the bot from scratch
35 replies
DIAdiscord.js - Imagine an app
•Created by chickenwing on 4/10/2024 in #djs-questions
New discord Poll detection
Raw API, yes. Djs currently don't support it.
I think it's in
APIMessage
or something.19 replies
DIAdiscord.js - Imagine an app
•Created by Xge on 4/10/2024 in #djs-questions
408 Request Timeout when sending messages
this might be similar to yours but shows the reasons why.
6 replies
DIAdiscord.js - Imagine an app
•Created by Xge on 4/10/2024 in #djs-questions
408 Request Timeout when sending messages
i believe 'Request Timeout' is caused by slow connection but you can adjust REST timeout to something higher than 15 seconds, but might be Discord side.
6 replies
DIAdiscord.js - Imagine an app
•Created by kriskotooBG on 3/2/2024 in #djs-questions
Set 'about me' field
Np, dont forget to mark this as solved with the button above
13 replies
DIAdiscord.js - Imagine an app
•Created by kriskotooBG on 3/2/2024 in #djs-questions
Set 'about me' field
Yes that one
13 replies
DIAdiscord.js - Imagine an app
•Created by kriskotooBG on 3/2/2024 in #djs-questions
Set 'about me' field
Fetch it first to populate the values then you can edit.
13 replies
DIAdiscord.js - Imagine an app
•Created by Obelisque on 2/29/2024 in #djs-questions
Fetch deleted messages by discord upon a user ban
Are you sure that you're not making a typo in
messageDeletedBulk
? The actual event name is messageDeleteBulk
8 replies
DIAdiscord.js - Imagine an app
•Created by CyberGlitch on 2/25/2024 in #djs-questions
Is it normal that the latest version of discord.js has vulnerabilities caused by undici ?
As stated in this comment by Jiralite.
https://github.com/discordjs/discord.js/issues/10132#issuecomment-1949515813
8 replies
DIAdiscord.js - Imagine an app
•Created by CyberGlitch on 2/25/2024 in #djs-questions
Is it normal that the latest version of discord.js has vulnerabilities caused by undici ?
My advice would be just to ignore it for now.
Discord.js already uses Undici 6.x at the time and there's nothing they can do atm except rolling out a new version.
8 replies
DIAdiscord.js - Imagine an app
•Created by ost on 2/22/2024 in #djs-questions
The bot has started, but does not respond to the standard command (!ping)
Your "message" event is invalid, should be messageCreate, did you ask AI to make it for you?
14 replies
DIAdiscord.js - Imagine an app
•Created by Dummi on 2/12/2024 in #djs-questions
Webhook send channelId option
.send()
has an option to send to a thread channel I believe.7 replies
DIAdiscord.js - Imagine an app
•Created by DiabolusGX on 2/12/2024 in #djs-questions
Authentication failed at WebSocketShard.onClose
You need to work/improve on whatever is causing your bot process to crash constantly so Discord doesn't revoke your token again and again.
Because it sounds like your bot is on a restart loop and logging into API a thousand times.
42 replies
DIAdiscord.js - Imagine an app
•Created by Goose on 1/21/2024 in #djs-questions
Permission Overwrites
manage channels perm i believe is required to adjust the channel perms
8 replies
DIAdiscord.js - Imagine an app
•Created by Sigma🇦🇱 on 1/19/2024 in #djs-questions
Shard & Guilds
You can use broadcastEval or fetchClientValues, the guide shows how to use them.
7 replies
DIAdiscord.js - Imagine an app
•Created by dawnniie on 1/17/2024 in #djs-questions
djs memory usage in bun
Afaik, memory consumption is different for each bots, no matter how large or small the bot's codebase can be.
But also, some intents plays a role in memory consumption too.
21 replies