sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
Sharding for redundancy?
GuildChannelManager can delete channels from other guilds
Relative Timestamp inside of Embed showing wrong time
<t:1750701118:R>.
and put it through in a message myself, right after - it's correct, as I expect it.
But in the embed itself - it says 55 years ago
?...
discord js node modules type error
14.18.0
and typescript 5.7.3
.
https://github.com/BirthdayyBot/BirthdayyBot/tree/fix/upgrade-versions
this is the code version I am using.
not sure whats going on...
`ModalBuilder` validation error
Change in how discord links emojis?
https://cdn.discordapp.com/emojis/${emoji-id}
, name: emoji-name }); and that worked for all emojis. But it seems discord emoji links are now of the form https://cdn.discordapp.com/emojis/{emoji-id}.webp?size=240&animated=true. Does anyone if this is behavior that was changed...changed from npm to pnpm, bot doesn't work anymore
pnpx prisma generate
Property 'send' does not exist on type *channel types*
if (!message.channel.isSendable()) return;

Interactions randomly fail in a dockerized bot
Is there a way to make autocomplete options only accept a listed option - not "custom" inputs?
Profile Color Member
Subcommand not registering
/channels
command (here is the code: https://hastebin.skyra.pw/cezeqivufo.less) but when I try to run the bot, I get the following error:
```
2024-09-20 17:40:06 - ERROR - ApplicationCommandRegistry[channels] Failed to register application command with name "channels" DiscordAPIError[50035]: Invalid Form Body...new SlashCommandBuilder()
with (builder) => builder
and now it works!
```ts
// Pretty much like this:
export class ChannelsCommand extends Subcommand {
public override registerApplicationCommands(registry: ChatInputCommand.Registry) {...Slash Commands Embeds
Help with message deletion
How does one check if a specific user was mentioned in a message?
Typing - Question message
import { EmbedBuilder, Guild, Message, User } from 'discord.js';
import { EmbedBuilder, Guild, Message, User } from 'discord.js';

Keep getting "Shard 0 is reconnecting..." errors
14.15.2
.
Question about developing in TypeScript
Is there a way to make the bot press a button component within a message
getChannel does not exist for interaction.options
ts:32:51 - error TS2339: Property 'getChannel' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
const channelOption = interaction.options.getChannel('channel', true);
ts:32:51 - error TS2339: Property 'getChannel' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused" | "getMentionable" | "getRole" | "getAttachment" | ... 6 more ... | "getSubcommand">'.
const channelOption = interaction.options.getChannel('channel', true);