sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
interaction.showModal not working
``
this.container.logger.debug("Start Editing...")
const modal = new ModalBuilder().setTitle("Nachricht bearbeiten").setCustomId(
modaledit${swallowed.id}`)...Type T[P] does not satisfy constraint Option<any>
Undefined ?
``js
client.on('ready', () => {
console.log(
Logged in as ${client.user.tag}!`);...How can i add all itents
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMessages] });
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMessages] });
const { Client, IntentsBitField } = require('discord.js');
const client = new Client({ intents: new IntentsBitField().add(3276799)});
const { Client, IntentsBitField } = require('discord.js');
const client = new Client({ intents: new IntentsBitField().add(3276799)});
UserSelectMenu
NodeJS version too low for DiscordJS
SyntaxError: The requested module '@discordjs/util' does not provide an export named 'calculateShard
ws
and rest
, and I can't find anything that points me to right direction
```ts
import { Client, GatewayDispatchEvents, GatewayIntentBits, InteractionType, MessageFlags } from '@discordjs/core';
import { REST } from '@discordjs/rest';..."resolutions": {
"@discordjs/util": "0.1.1-dev.1675598630-405f940.0"
},
"resolutions": {
"@discordjs/util": "0.1.1-dev.1675598630-405f940.0"
},
Should my bot sending out dm's trigger it's own messageCreate event?
How can I update a message only via its messageid and channelid?
const message = await container.client.cache.get('xxxx').messages.fetch('yyyy');
const message = await container.client.cache.get('xxxx').messages.fetch('yyyy');
Giveaway ends in "active time changes"
Get content as resolved tags
hey @<213123123> look in channel <#1037547185492996208>
and get that as it's resolved version so like hey joe look in channel #updog
- Is there a DiscordJS function to do that? Thanks!...Follow announcement channel
Variable slash command argument parsing
receiving invalid message id
{ message: 'Unknown Message', code: 10008 }
{ message: 'Unknown Message', code: 10008 }
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.