We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e6dca commit d6374fbCopy full SHA for d6374fb
structures/Kisaragi.ts
@@ -447,7 +447,7 @@ export class Kisaragi extends Client {
447
448
public isUncachedInteraction = (interaction: ChatInputCommandInteraction | ContextMenuCommandInteraction |
449
ButtonInteraction | StringSelectMenuInteraction) => {
450
- return !interaction.guild && interaction.channel?.type !== ChannelType.DM
+ return !interaction.inCachedGuild() && interaction.channel?.type !== ChannelType.DM
451
}
452
453
public shardedGuildCount = async () => {
0 commit comments