Maxi130
DIAdiscord.js - Imagine an app
•Created by JAMPERR7 on 12/25/2024 in #djs-questions
How do I make the bot appear in Discord activities?
It allows you to use all of the functions. I'm not sure if it's 100% necessary, it will make your life easier tho.
7 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 12/25/2024 in #djs-questions
Can't change channel of webhook
Oh, I printed that and realized that I was still using a hard coded webhook instead of the one that I had stored for that guild. Sorry for wasting your time. It works now.
13 replies
DIAdiscord.js - Imagine an app
•Created by JAMPERR7 on 12/25/2024 in #djs-questions
How do I make the bot appear in Discord activities?
discord.js doesn't support activities. But discord has an example repo. (See above)
7 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 12/25/2024 in #djs-questions
Can't change channel of webhook
https://pastebin.com/yd7Q1DWb that's the previous channel from the error.
13 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 12/25/2024 in #djs-questions
Can't change channel of webhook
Yes, the error happens for all channels in that guild. Only thing that changes is the channel_id in the payload mentioned in the error.
13 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 12/25/2024 in #djs-questions
Can't change channel of webhook
To big for discord, https://pastebin.com/1taYbQSE
13 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 12/25/2024 in #djs-questions
Can't change channel of webhook
Normal guild text channel.
13 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 12/25/2024 in #djs-questions
Can't change channel of webhook
13 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 12/25/2024 in #djs-questions
Can't change channel of webhook
There is.
As you can see in the error payload, there is the right channel id.
13 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 12/25/2024 in #djs-questions
Can't change channel of webhook
discordmessagelinkbot@1.0.0 /home/max/Documents/DiscordMessageLinkBot
└── discord.js@14.16.3
v22.4.0
13 replies
DIAdiscord.js - Imagine an app
•Created by DanielBA on 10/28/2024 in #djs-questions
Bot Preformance - Sending the same message to many servers
As Qjuh already mentioned you could create a webhook in each server (using the bot). Each webhook has their own limits so you can send your messages faster. If you create them using your bot you can still use buttons and respond to them. You can also modify the picture and name of the webhook, so it looks almost identical.
9 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 10/18/2024 in #djs-questions
How to delete reply of an interaction that caused my interaction after 3 seconds?
So what interaction.message.delete() should do?
31 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 10/18/2024 in #djs-questions
How to delete reply of an interaction that caused my interaction after 3 seconds?
I just don't understand why I'm able to keep interaction 1 "alive" by defering interaction 2.
31 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 10/18/2024 in #djs-questions
How to delete reply of an interaction that caused my interaction after 3 seconds?
So I need to react to interaction 2 so the reply triggered by interaction 1 exists (which can then be deleted)?
31 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 10/18/2024 in #djs-questions
How to delete reply of an interaction that caused my interaction after 3 seconds?
I'm responding within 3 seconds.
31 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 10/18/2024 in #djs-questions
How to delete reply of an interaction that caused my interaction after 3 seconds?
Why do I need to defer an update for a new interaction tho?
31 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 10/18/2024 in #djs-questions
How to delete reply of an interaction that caused my interaction after 3 seconds?
I thought the code in the first message was supposed to be for the first handler.
31 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 10/18/2024 in #djs-questions
How to delete reply of an interaction that caused my interaction after 3 seconds?
Sorry, I thought it wasn't applicable for the example. I put the code in the wrong part. It works now.
31 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 10/18/2024 in #djs-questions
How to delete reply of an interaction that caused my interaction after 3 seconds?
From my understanding I'm telling discord to reply, then to wait for an update and then tell them to update (delete) the message.
31 replies
DIAdiscord.js - Imagine an app
•Created by Maxi130 on 10/18/2024 in #djs-questions
How to delete reply of an interaction that caused my interaction after 3 seconds?
I tried sending the message then deffering the update then deleting the interaction message. It gives me an Unknown Mesage error.
First message (cancel button)
Second message (no button)
31 replies