Skip to content

Commit dd3e7d2

Browse files
committed
fix(bots/discord): allow partial users
1 parent 567c5d2 commit dd3e7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bots/discord/src/context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export const discord = {
122122
BaseGuildEmojiManager: 0,
123123
GuildInviteManager: 0,
124124
}),
125-
partials: [Partials.Message, Partials.Reaction, Partials.GuildMember],
125+
partials: [Partials.Message, Partials.Reaction, Partials.GuildMember, Partials.User],
126126
}),
127127
commands: Object.fromEntries(Object.values(commands).map(cmd => [cmd.name, cmd])) as Record<
128128
string,

0 commit comments

Comments
 (0)