Kasai
Kasai
DIAdiscord.js - Imagine an app
Created by Kasai on 7/22/2023 in #djs-questions
getTextInputValue not working :C
client.on("interactionCreate", async (interaction) => {
console.log(interaction.fields.getTextInputValue("request_name"))
});
client.on("interactionCreate", async (interaction) => {
console.log(interaction.fields.getTextInputValue("request_name"))
});
I also checked. This is a modal.
49 replies
DIAdiscord.js - Imagine an app
Created by Kasai on 5/26/2023 in #djs-questions
permissionOverwrites
newState.guild.channels.create(String(chname.replace("{user}", newState.member.user.username)).substr(0, 32), {
type: 'GUILD_VOICE',
permissionOverwrites: [
{
id: newState.member.user.id,
allow: ['MANAGE_CHANNELS', "VIEW_CHANNEL", "MANAGE_ROLES", "CONNECT"]
}
],
newState.guild.channels.create(String(chname.replace("{user}", newState.member.user.username)).substr(0, 32), {
type: 'GUILD_VOICE',
permissionOverwrites: [
{
id: newState.member.user.id,
allow: ['MANAGE_CHANNELS', "VIEW_CHANNEL", "MANAGE_ROLES", "CONNECT"]
}
],
Why id doesnt work. I dont get any errors. It doesnt want to set these pemissions.
3 replies
DIAdiscord.js - Imagine an app
Created by Kasai on 4/2/2023 in #djs-questions
New Bot faster with editing
I have a question. I created a new bot and he is faster with editing embeds. He can easy change every 1s the embed. But my old bot (2 years old) is not so fast. Why the new bot edits more/faster than the old one?
5 replies
DIAdiscord.js - Imagine an app
Created by Kasai on 1/13/2023 in #djs-questions
How to get members in VC?
Do I need to fetch the channel all the time or does it work with client.channels.cache.get(id).members Or when the member list is up to date?
9 replies
DIAdiscord.js - Imagine an app
Created by Kasai on 1/7/2023 in #djs-questions
how i can handle discord ratelimits?
for example my bot shows the current song and when people skip too fast the message dont get updated because ratelimit. But when the ratelimit is over the bot is doing all jobs in the ratelimit queue. How I can change the queue or remove jobs what the bot needs to do?
55 replies
DIAdiscord.js - Imagine an app
Created by Kasai on 10/11/2022 in #djs-questions
bulk delete messages
How many message I can bulk delete once?
10 replies