Property 'user' does not exist on type 'never'.
`An Interaction Was Initialized in ${
options.interaction.inGuild()
? `${Formatters.channelMention(
options.interaction.channelId
)} Of ${options.interaction.guild.name} (${
options.interaction.guild.id
}) executed by ${Formatters.userMention(
options.interaction.user.id
)} [${options.interaction.user.tag}] (${
options.interaction.user.id
})`
: `the DMs of ${Formatters.userMention(
options.interaction.user.id
)} [${options.interaction.user.tag}] (${
options.interaction.user.id
})`
}`
`An Interaction Was Initialized in ${
options.interaction.inGuild()
? `${Formatters.channelMention(
options.interaction.channelId
)} Of ${options.interaction.guild.name} (${
options.interaction.guild.id
}) executed by ${Formatters.userMention(
options.interaction.user.id
)} [${options.interaction.user.tag}] (${
options.interaction.user.id
})`
: `the DMs of ${Formatters.userMention(
options.interaction.user.id
)} [${options.interaction.user.tag}] (${
options.interaction.user.id
})`
}`
1 Reply
options: InteractionLoggerManagerOptions
options: InteractionLoggerManagerOptions
type InteractionLoggerManagerOptions = {
status: "success" | "initialized" | "error";
interaction: CommandInteraction;
};
type InteractionLoggerManagerOptions = {
status: "success" | "initialized" | "error";
interaction: CommandInteraction;
};
inGuild()
to .inCachedGuild()