fix(bot): make Interaction.guild a Partial<Guild> (#4556)

* fix(bot): make Interaction.guild a Partial<Guild>

* Update packages/bot/src/transformers/types.ts

Co-authored-by: Awesome Stickz <awesome@stickz.dev>

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
This commit is contained in:
Fleny
2026-01-08 21:22:56 +01:00
committed by GitHub
parent 3cf2f74ae5
commit 5ff9822759

View File

@@ -947,7 +947,7 @@ export interface Interaction {
/** The type of interaction */
type: InteractionTypes
/** Guild that the interaction was sent from */
guild: Guild
guild?: Partial<Guild>
/** The guild it was sent from */
guildId?: bigint
/** The channel it was sent from */