officialdatch
DIAdiscord.js - Imagine an app
•Created by officialdatch on 5/5/2024 in #djs-questions
DiscordAPIError[50027]: Invalid Webhook Token
Hey, I made a discord bot, but something isn't working. Occasionally when lots of people use the bot I get this error:
DiscordAPIError[50027]: Invalid Webhook Token
05.05 15:54:26 [Bot] at handleErrors (/node_modules/@discordjs/rest/dist/index.js:730:13)
05.05 15:54:26 [Bot] at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
05.05 15:54:26 [Bot] at async SequentialHandler.runRequest (/node_modules/@discordjs/rest/dist/index.js:1133:23)
05.05 15:54:26 [Bot] at async SequentialHandler.queueRequest (/node_modules/@discordjs/rest/dist/index.js:963:14)
05.05 15:54:26 [Bot] at async _REST.request (/node_modules/@discordjs/rest/dist/index.js:1278:22)
05.05 15:54:26 [Bot] at async InteractionWebhook.editMessage (/node_modules/discord.js/src/structures/Webhook.js:341:15)
05.05 15:54:26 [Bot] at async ChatInputCommandInteraction.editReply (/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:161:17)
05.05 15:54:26 [Bot] at async InteractionCollector.<anonymous> (/Bot2/commands/club1/invitetoclub.js:814:49) {
Can someone help? I will be very happy if someone can help me with the solution.
4 replies
DIAdiscord.js - Imagine an app
•Created by officialdatch on 5/1/2024 in #djs-questions
How to check if a user is in a specific guild
Hey there,
I'm trying to make a command, that invites a person to a football club. Because, I don't want anyone to join that isn't in the main server, I wanted to check if the user is in the discord.
I've tried countless solutions, but nothing worked. I don't know why, but I hope that someone can help me with this problem.
Here's the code (I highlighted where it will check)
17 replies
DIAdiscord.js - Imagine an app
•Created by officialdatch on 5/1/2024 in #djs-voice
How to check if a user is in a specific guild
Hey there,
I'm trying to make a command, that invites a person to a football club. Because, I don't want anyone to join that isn't in the main server, I wanted to check if the user is in the discord.
I've tried countless solutions, but nothing worked. I don't know why, but I hope that someone can help me with this problem.
Here's the code
4 replies
DIAdiscord.js - Imagine an app
•Created by officialdatch on 4/30/2024 in #djs-questions
Problem to add a role to a person in a different guild
3 replies
DIAdiscord.js - Imagine an app
•Created by officialdatch on 4/29/2024 in #djs-questions
Button Collector
15 replies
DIAdiscord.js - Imagine an app
•Created by officialdatch on 4/29/2024 in #djs-questions
Cannot read properties of undefined (reading 'cache')
34 replies