Deadlyapple
Deadlyapple
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
Why is typescript so complicated sometimes for no reason.
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
I think I got it to work
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
Ahh wait
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
No description
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
Added the if but react still shows with same error
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
So interesting fact. I added interaction.inCachedGuild() just like that in the code, no error. Then added it in the if, showed a error that it doesn't exist. Copied the working part into the if (code didnt change) it shows as no error.
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
Or just writting it into the code by itself
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
Just checking if I understand correctly. I am assigning interaction.isCachedGuild to const message
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
Hahaha, I think I should recode the bot in another language lol
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
Property 'react' does not exist on type 'APIMessage | Message<boolean>'.
Property 'react' does not exist on type 'APIMessage'
Property 'react' does not exist on type 'APIMessage | Message<boolean>'.
Property 'react' does not exist on type 'APIMessage'
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
No description
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
So the code generally works and it's a massiv bot with about 40 commands but I was trying to add something new
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
No description
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
I am aware but
const message = await interaction.reply(pingRole);
const message = await interaction.reply(pingRole);
and then the rest also doesn't work. Saw the guide... didnt work
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
But even when the IDE changes it to reactions it throws an error
Property 'reactions' does not exist on type 'Promise<APIMessage | Message<boolean>>'.
Property 'reactions' does not exist on type 'Promise<APIMessage | Message<boolean>>'.
31 replies
DIAdiscord.js - Imagine an app
Created by Deadlyapple on 12/6/2024 in #djs-questions
Adding reactions to embed message.
Tried
const message = interaction.fetchReply();
(await message).react()
const message = interaction.fetchReply();
(await message).react()
Didnt work always tries to make it to reactions()
31 replies