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-09 01:52:56 +05:30
committed by GitHub
co-authored by Awesome Stickz
parent 3cf2f74ae5
commit 5ff9822759
+1 -1
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 */