ByteSwiper
ByteSwiper
DIAdiscord.js - Imagine an app
Created by nBux on 7/31/2023 in #djs-questions
Can I edit an embed in a different channel when clicking a button?
ah yes, defer will do
9 replies
DIAdiscord.js - Imagine an app
Created by nBux on 7/31/2023 in #djs-questions
Can I edit an embed in a different channel when clicking a button?
If you have any questions do let me know, I’ll be here. Unfortunately my laptop is broken so I can only help to an extent.
9 replies
DIAdiscord.js - Imagine an app
Created by nBux on 7/31/2023 in #djs-questions
Can I edit an embed in a different channel when clicking a button?
then once you get the message simply just do the edit function just like you would edit any other message.
9 replies
DIAdiscord.js - Imagine an app
Created by nBux on 7/31/2023 in #djs-questions
Can I edit an embed in a different channel when clicking a button?
once you get the channel, just do channel.messages.fetch(MESSAGEIDGERE). Make sure to use await or promiseify it.
9 replies
DIAdiscord.js - Imagine an app
Created by nBux on 7/31/2023 in #djs-questions
Can I edit an embed in a different channel when clicking a button?
I don’t have my computer on me atm but just get the channel from the channels cache on the bot (client.channels.cache.get)
9 replies
DIAdiscord.js - Imagine an app
Created by nBux on 7/31/2023 in #djs-questions
Can I edit an embed in a different channel when clicking a button?
Yes, first you will need the message ID for the message with the embed.
9 replies
DIAdiscord.js - Imagine an app
Created by kwelo on 7/31/2023 in #djs-questions
guildAvailable
It happens sometimes for bigger servers, so it’s best to let bots know if a server becomes unavailable.
10 replies
DIAdiscord.js - Imagine an app
Created by kwelo on 7/31/2023 in #djs-questions
guildAvailable
yep
10 replies