Sharp
Sharp
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 2/6/2024 in #djs-questions
commands not refreshing
never mind, read the whole thing and it explains there
6 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 2/6/2024 in #djs-questions
commands not refreshing
I have a command that has been added for days and have not shown in some clients yet
6 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 2/6/2024 in #djs-questions
commands not refreshing
So, this rest command only updates one guild right, so I should runt that in a loop for all guilds that my bot is in?
6 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 2/5/2024 in #djs-questions
interaction works on and off
i'm trying to purposely reproduce it now and see if closing and opening vs code will actually fix it again and will post it here for updates and/or future reference
6 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 2/5/2024 in #djs-questions
interaction works on and off
Yeah unknow message is the weirdest, after try all of that, what solved was closing and opening vs code... I guess something is wrong when starting and finishing many debug sessions
6 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
how? since when?
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
dude, wtf! This worked!
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
but bassicaly that confirmation inside the try catch, never responds, is like it doesn't even register the interaction
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
formating looks horrible here
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
try { // await interaction.deferReply({ ephemeral: true }); const userFlagged = JSON.parse(args[0]); // const userName = args[1]; //const tokenAddress = interaction.options.getString('token-address'); const selectMenu = new StringSelectMenuBuilder().setCustomId('flag-user-options').setPlaceholder('Select reason'); selectMenu.addOptions({ label: 'Spamming Links', emoji: { name: '🚩' }, value: 'spamming-links', }), selectMenu.addOptions({ label: 'Impersonating Admins', emoji: { name: 'πŸ’€' }, value: 'impersonating-admins', }); const warningEmbed = new EmbedBuilder() .setTitle('Flag user') .setColor('Yellow'); warningEmbed.setDescription( Chose bellow the reason why you want to flag user **${userFlagged.userName}**.); const row = new ActionRowBuilder().addComponents(selectMenu); const flagSelection = await interaction.reply({ embeds: [warningEmbed], components: [row], ephemeral: true }); try { const confirmation = await flagSelection.awaitMessageComponent({ time: 60000 }); if (confirmation.customId === 'flag-user-options') { const reason = confirmation.values[0]; const confirmationEmbed = new EmbedBuilder()
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
all my selectMenus that have an await compoenent stopped working
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
but doesn't make sense since it was working before
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
and still same error
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
and i updated to the latest didscordjs version 14.14.1
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
honestly no idea what happened but opened and closed vscode and now locally that awaitComponent isn't working in both places on my machine and on the server
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
already removed the filter and it doesn't work
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 1/26/2024 in #djs-questions
awaitMessageComponent not working on server but works locally...
djs v 14.8.0 and node 18.18.0
19 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 5/11/2023 in #djs-questions
Token removed because bot connected more than 1000?
would an interaction failling and the bot has an a catch all exception, cause that ?
9 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 5/11/2023 in #djs-questions
Token removed because bot connected more than 1000?
I do
9 replies
DIAdiscord.js - Imagine a boo! πŸ‘»
Created by Sharp on 5/11/2023 in #djs-questions
Token removed because bot connected more than 1000?
I wonder if its because there is an error msg that happens but the bot recovers from it?
9 replies