! Murali Anand
! Murali Anand
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 5/1/2024 in #djs-questions
Direct Message Users Rate Limit
Is there a way to directly message all 8000+ members on my Discord server without being rate limited?
6 replies
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 9/22/2023 in #djs-questions
HTTPError: Bad Gateway
I'm just curious about why this error occurs
10 replies
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 8/25/2023 in #djs-questions
AbortError
Sometimes i get this error message, i want to know why this error occurs and how can i solve this
AbortError: Request aborted
at RequestHandler.abort (/home/container/node_modules/@discordjs/rest/node_modules/undici/lib/client.js:1391:44)
at abort (/home/container/node_modules/@discordjs/rest/node_modules/undici/lib/api/abort-signal.js:8:10)
at self.<computed> (/home/container/node_modules/@discordjs/rest/node_modules/undici/lib/api/abort-signal.js:29:5)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:737:20)
at EventTarget.dispatchEvent (node:internal/event_target:679:26)
at abortSignal (node:internal/abort_controller:314:10)
at AbortController.abort (node:internal/abort_controller:344:5)
at Timeout.<anonymous> (/home/container/node_modules/@discordjs/rest/dist/index.js:637:47)
at listOnTimeout (node:internal/timers:569:17)
at p...
AbortError: Request aborted
at RequestHandler.abort (/home/container/node_modules/@discordjs/rest/node_modules/undici/lib/client.js:1391:44)
at abort (/home/container/node_modules/@discordjs/rest/node_modules/undici/lib/api/abort-signal.js:8:10)
at self.<computed> (/home/container/node_modules/@discordjs/rest/node_modules/undici/lib/api/abort-signal.js:29:5)
at [nodejs.internal.kHybridDispatch] (node:internal/event_target:737:20)
at EventTarget.dispatchEvent (node:internal/event_target:679:26)
at abortSignal (node:internal/abort_controller:314:10)
at AbortController.abort (node:internal/abort_controller:344:5)
at Timeout.<anonymous> (/home/container/node_modules/@discordjs/rest/dist/index.js:637:47)
at listOnTimeout (node:internal/timers:569:17)
at p...
3 replies
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 8/3/2023 in #djs-questions
ComponentType.SelectMenu not working after discord.js@14.12.1
It was working just fine before
6 replies
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 7/17/2023 in #djs-questions
Unknown interaction
I don't come across this error message often, typically encountering it only once every 20 times I give a command. I am curious about the cause of this error. Thinking
6 replies
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 5/24/2023 in #djs-questions
Why I'm unable to send messages in Announcement type channels?
module.exports = {
name: 'msg',
description: "",
run: async (client, message, args) => {

var chan = message.mentions.channels.first();
var msg;

if (!chan) {
chan = message.channel;
msg = args.join(" ");
} else {
msg = args.slice(1).join(" ");
}

try {
await chan.send({ content: `${msg}` });
} catch (error) {
console.error(error);
message.reply({ content: 'An error occurred while sending the message. Please try again later.'});
}
await message.delete();
}
}
module.exports = {
name: 'msg',
description: "",
run: async (client, message, args) => {

var chan = message.mentions.channels.first();
var msg;

if (!chan) {
chan = message.channel;
msg = args.join(" ");
} else {
msg = args.slice(1).join(" ");
}

try {
await chan.send({ content: `${msg}` });
} catch (error) {
console.error(error);
message.reply({ content: 'An error occurred while sending the message. Please try again later.'});
}
await message.delete();
}
}
17 replies
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 4/23/2023 in #djs-questions
DiscordAPIError[40060]: Interaction has already been acknowledged.
I have no idea how this error is occurring, can someone help me out?
10 replies
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 4/22/2023 in #djs-questions
No handler available for this interaction (ApplicationCommand > add)
My code was working fine a day ago, what does this actually mean?
5 replies
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 1/22/2023 in #djs-questions
Webhook is not working or too long to send messages.
Sometimes I get errors like 'DiscordAPIError[50027]'
4 replies
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 1/19/2023 in #djs-questions
i.update() not working at collector.on('end')
No error output at the console. It was working well a day ago but not now : (
16 replies
DIAdiscord.js - Imagine an app
Created by ! Murali Anand on 1/18/2023 in #djs-questions
.editReply() not working with no error.
editReply() deleteReply() are not working with no errors in the console. Is it an API issue or some kind of ban? Btw the same code I was working on was able to run without any issues successfully.
12 replies