noby
noby
DIAdiscord.js - Imagine an app
Created by larkx on 8/21/2022 in #djs-questions
Slash Command Permissions
No
26 replies
DIAdiscord.js - Imagine an app
Created by larkx on 8/21/2022 in #djs-questions
Slash Command Permissions
You can give commands a permissions: […] property like that and then check for command.permissions and filter like that
26 replies
DIAdiscord.js - Imagine an app
Created by larkx on 8/21/2022 in #djs-questions
Slash Command Permissions
You can filter through it on interactionCreate event
26 replies
DIAdiscord.js - Imagine an app
Created by noby on 8/19/2022 in #djs-questions
Client Actions Dispatch
?
11 replies
DIAdiscord.js - Imagine an app
Created by noby on 8/19/2022 in #djs-questions
Client Actions Dispatch
How would I define the event
11 replies
DIAdiscord.js - Imagine an app
Created by noby on 8/19/2022 in #djs-questions
Client Actions Dispatch
so new Promise(client.actions…)?
11 replies
DIAdiscord.js - Imagine an app
Created by noby on 8/19/2022 in #djs-questions
Client Actions Dispatch
Is there a way to asynchronously wait for an event to be fired in a command?
11 replies
DIAdiscord.js - Imagine an app
Created by noby on 8/3/2022 in #djs-questions
Collector Strange Error
The error doesn't show me what lines or what event triggered the error though, so I don't know what part of the very long code to show
4 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/20/2022 in #djs-questions
Delete Messages in a Channel (Not Purge)
ok
12 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/20/2022 in #djs-questions
Delete Messages in a Channel (Not Purge)
rip then
12 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/20/2022 in #djs-questions
Delete Messages in a Channel (Not Purge)
Yep ik
12 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/20/2022 in #djs-questions
Delete Messages in a Channel (Not Purge)
So there's no other way except purge?
12 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/20/2022 in #djs-questions
Delete Messages in a Channel (Not Purge)
tragic
12 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/20/2022 in #djs-questions
Delete Messages in a Channel (Not Purge)
But it isn't working
12 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/20/2022 in #djs-questions
Delete Messages in a Channel (Not Purge)
Here's what I have now:
await channel.messages.cache.forEach(async (message) => {
await message.delete().catch(err => console.log(err)).finally(console.log("deleted all the messages"));
});
await channel.messages.cache.forEach(async (message) => {
await message.delete().catch(err => console.log(err)).finally(console.log("deleted all the messages"));
});
12 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/18/2022 in #djs-questions
ButtonBuilder.setEmoji() Error
Sick, thanks dm
20 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/18/2022 in #djs-questions
ButtonBuilder.setEmoji() Error
so for ID just use the string of the emoji?
20 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/18/2022 in #djs-questions
ButtonBuilder.setEmoji() Error
It isn't a discord native emoji
20 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/18/2022 in #djs-questions
ButtonBuilder.setEmoji() Error
20 replies
DIAdiscord.js - Imagine an app
Created by noby on 7/18/2022 in #djs-questions
ButtonBuilder.setEmoji() Error
const reload_button = new ButtonBuilder()
.setLabel("Play Again")
.setEmoji("🔁")
.setStyle(ButtonStyle.Success)
.setCustomId("gayrate_reload_button")
const reload_button = new ButtonBuilder()
.setLabel("Play Again")
.setEmoji("🔁")
.setStyle(ButtonStyle.Success)
.setCustomId("gayrate_reload_button")
20 replies