Kubi
Kubi
Explore posts from servers
DIAdiscord.js - Imagine a boo! 👻
Created by Kubi on 6/23/2023 in #djs-questions
Markdown in embeds broken?
11 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Kubi on 6/23/2023 in #djs-questions
Markdown in embeds broken?
i have
name: `[${placement.leagueProfile.summonerName}](https://blitz.gg/lol/profile/${region}/${placement.leagueProfile.summonerName}) - ${region}`,
name: `[${placement.leagueProfile.summonerName}](https://blitz.gg/lol/profile/${region}/${placement.leagueProfile.summonerName}) - ${region}`,
which is basically [Summonername](https....) - region
11 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Kubi on 6/23/2023 in #djs-questions
Interaction Failed Async
eventhough it was a silly mistake, i did genuinely learn alot from this, thank you <a:CB_dance_cat:430423973554159629><a:1279_Flying_Hearts_Red:975427205536567316>
23 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Kubi on 6/23/2023 in #djs-questions
Interaction Failed Async
yeeees, it works!
23 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Kubi on 6/23/2023 in #djs-questions
Interaction Failed Async
oh my god, i just realized that i named the previous and next instead of the dumb custom names i gave them
23 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Kubi on 6/23/2023 in #djs-questions
Interaction Failed Async
Changed the following, seems its indeed not emitting
- await interaction.reply({ embeds: [embed], components: [row] });
+ const msg = await interaction.reply({ embeds: [embed], components: [row] });



- const collector = interaction.channel.createMessageComponentCollector({ filter, time: 15000 });
+ const collector = msg.createMessageComponentCollector({ filter, time: 15000 });
+ collector.on('collect', (interaction) => {
+ console.log('Collector emitted collect event');
+ });
+ collector.on('end', (collected, reason) => {
+ console.log(`Collector stopped collecting interactions. Reason: ${reason}`);
+ });
- await interaction.reply({ embeds: [embed], components: [row] });
+ const msg = await interaction.reply({ embeds: [embed], components: [row] });



- const collector = interaction.channel.createMessageComponentCollector({ filter, time: 15000 });
+ const collector = msg.createMessageComponentCollector({ filter, time: 15000 });
+ collector.on('collect', (interaction) => {
+ console.log('Collector emitted collect event');
+ });
+ collector.on('end', (collected, reason) => {
+ console.log(`Collector stopped collecting interactions. Reason: ${reason}`);
+ });
23 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Kubi on 6/23/2023 in #djs-questions
Interaction Failed Async
it should 🤔 maybe i should log that aswell if it actually emits or not
23 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Kubi on 6/23/2023 in #djs-questions
Interaction Failed Async
oh also! i recently updated from V13 to V14, but i don't see anything V13 related, so, uh, correct me when wrong MonkaStare
23 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Kubi on 6/23/2023 in #djs-questions
Interaction Failed Async
`-- [email protected] v18.12.1
for the curious
23 replies