jackssrt
jackssrt
DIAdiscord.js - Imagine an app
Created by jackssrt on 7/23/2023 in #djs-voice
Can't install @discordjs/opus.
yeah for the meantime downgrading to node v.18 fixes it but still it would be nice to be able to use the latest node version
5 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 7/19/2023 in #djs-questions
AutocompleteInteraction#respond takes a long time to return
Alright, I will look into it...
14 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 7/19/2023 in #djs-questions
AutocompleteInteraction#respond takes a long time to return
I am running the bot on replit so there is probably some firewall or proxy
14 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 7/19/2023 in #djs-questions
AutocompleteInteraction#respond takes a long time to return
14 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 7/19/2023 in #djs-questions
AutocompleteInteraction#respond takes a long time to return
respond-${i} is only timing interaction.respond, so only to the discord API
14 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 7/19/2023 in #djs-questions
AutocompleteInteraction#respond takes a long time to return
actually if you need to see more logs from when it starts: https://hastebin.com/share/teromurusa.csharp
14 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 7/19/2023 in #djs-questions
AutocompleteInteraction#respond takes a long time to return
ive seen the time to respond go from like 6 seconds to now 2 minutes, it varies a lot
14 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 7/19/2023 in #djs-questions
AutocompleteInteraction#respond takes a long time to return
14 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 7/19/2023 in #djs-questions
AutocompleteInteraction#respond takes a long time to return
searching-0.5178269327384368: 0.473ms
error occurred
Unknown interaction
at handleErrors (node_modules/@discordjs/rest/dist/index.js:640:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async BurstHandler.runRequest (node_modules/@discordjs/rest/dist/index.js:736:23)
at async REST.request (node_modules/@discordjs/rest/dist/index.js:1387:22)
at async AutocompleteInteraction.respond (node_modules/discord.js/src/structures/AutocompleteInteraction.js:86:5)
at async Object.autocomplete (build/commands/color.js:74:4)
at async Client.<anonymous> (build/client.js:224:13)
responding-0.5178269327384368: 15.505s
searching-0.5178269327384368: 0.473ms
error occurred
Unknown interaction
at handleErrors (node_modules/@discordjs/rest/dist/index.js:640:13)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async BurstHandler.runRequest (node_modules/@discordjs/rest/dist/index.js:736:23)
at async REST.request (node_modules/@discordjs/rest/dist/index.js:1387:22)
at async AutocompleteInteraction.respond (node_modules/discord.js/src/structures/AutocompleteInteraction.js:86:5)
at async Object.autocomplete (build/commands/color.js:74:4)
at async Client.<anonymous> (build/client.js:224:13)
responding-0.5178269327384368: 15.505s
14 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 7/19/2023 in #djs-questions
AutocompleteInteraction#respond takes a long time to return
If it matters the command is also only deployed to the current guild, and not globally.
14 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 4/7/2023 in #djs-questions
How do I make newly created channels automatically show up for everyone with onboarding enabled?
oh ok, i use typescript so that won't be a problem
10 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 4/7/2023 in #djs-questions
How do I make newly created channels automatically show up for everyone with onboarding enabled?
will client.rest() handle ratelimiting and stuff?
10 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 4/7/2023 in #djs-questions
How do I make newly created channels automatically show up for everyone with onboarding enabled?
ok then, in Discord.JS, how do I send the raw API request while using all of the ratelimit handling things in Discord.JS?
10 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 4/7/2023 in #djs-questions
How do I make newly created channels automatically show up for everyone with onboarding enabled?
can i use the undocumented https://discord.com/api/v9/guilds/GUILD_ID/onboarding or will discord get mad?
10 replies
DIAdiscord.js - Imagine an app
Created by jackssrt on 4/7/2023 in #djs-questions
How do I make newly created channels automatically show up for everyone with onboarding enabled?
node version: v19.3.0 pnpm ls discord.js: discord.js 14.9.0 code:
import type { CategoryChannel } from "discord.js";

async function createChannel(category: CategoryChannel) {
await category.children.create({
type: ChannelType.GuildVoice,
name: `🔊・general${getSuperscriptNumber(category.children.cache.size + 1)}`,
});
}
import type { CategoryChannel } from "discord.js";

async function createChannel(category: CategoryChannel) {
await category.children.create({
type: ChannelType.GuildVoice,
name: `🔊・general${getSuperscriptNumber(category.children.cache.size + 1)}`,
});
}
10 replies