#Unban
24 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
✅Marked as resolved by OP
@outer thicket If I understood correctly your defer is not getting through, so it might just be an issue with your internet connection
but the thing is it works for other commands literally in the same file
i keep thinking its the logic but i dont see anything wrong in the code
Show one of your other subcommands
aight lemme boot up my pc
Just a sec
await interaction.deferReply({ ephemeral: true });
if (!timeouts.has(member.id)) {
return interaction.editReply({ content: 'This user is not currently timed out', ephemeral: true });
}
//remove timeout
await member.timeout(null, `[${reason} - by ${interaction.user.username}]`);
let dm = ":success:"; //if dm succesful
//dm user
const dmEmbedremove = new EmbedBuilder()
.setDescription(`:success: Your timeout in **MMI Headquarters** has been removed because \`${reason}\``)
.setColor("#2b2d31");
const component = {
type: 1, // ActionRow
components: [
{
type: 2, // Button
style: 5, // Link style
label: '💬 Server',
url: 'https://discord.com/channels/726914118736543836/1247511226427117618',
},
],
};
await member.send({ embeds: [dmEmbedremove], components: [component]}).catch(err => {
dm = ":deny:"; //if dm fails
});```
here is the unmute command and defer works just fine
Show the whole file
its pretty big
You want pastebin or txt?
ah well heres a txt
cuz paste bin thinks its offensive
I didn‘t send this tag for nothing…
https://pastebin.com/wrvgwmG9 here you go
Sorry for that
but you’ll have to login cuz like i said pastebin thinks its offensive so i had to make it private
and ik you are just doing this out of courtesy but i kinda need a solution quick
Then use a different of the proposed services… because like you said we are all volunteers here. So the extra effort should be put in by you, not expected from those helping you