sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Webhook posting in incorrect guild
What is the Best approach to developing a bot and reloading the new changes into it?
BaseMessageOptions#components does not take Builders
.send({ components: [myComp] })
, where myComp
was the equivalent of what is now a Builder. So now i've updated it to a builder, but it is no longer accepted by TypeScript. A few examples:
```ts
src/commands/General/code.ts:169:86 - error TS2322: Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIActionRowComponent<APIMessageActionRowComponent> | JSONEncodable<APIActionRowComponent<APIMessageActionRowComponent>> | ActionRowData<...>'....fetch channel returns undefined
Node.js bot start issues.
yO mY bOt HaS gLoBaL cOmMaNdS bUt I dOnT hAvE sUpPoRtS cOmMaNdS bAdGe
Error Dashboard
My Welcome Message And Auto Role Doesn't Work
.cache.get
which means that you're probably just not finding the channel or guild because it was never added to the cache. You should fetch the items you needIterating over all server members OR iterating over people with x role
how would I rerun a command thru a button
Varying parsing options?
Do Partials Create Un-Typesafe Code?
My bot wont respond to my commands
Fetch membercount?
const theGuild = await botclient.guilds.fetch(channels[i].server, { force: false, allowUnknownGuild: true }).catch(() => null)
console.log(theGuild.memberCount)
const theGuild = await botclient.guilds.fetch(channels[i].server, { force: false, allowUnknownGuild: true }).catch(() => null)
console.log(theGuild.memberCount)
Getting info from JSON
Really need help that no body is willing too
Help

Welcome
