mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
fix(typings): bot cannot be null (#4719)
This commit is contained in:
parent
cfc68677ee
commit
e0e271162c
1 changed files with 2 additions and 1 deletions
3
typings/index.d.ts
vendored
3
typings/index.d.ts
vendored
|
|
@ -2991,7 +2991,8 @@ declare module 'discord.js' {
|
|||
|
||||
type PartialTypes = 'USER' | 'CHANNEL' | 'GUILD_MEMBER' | 'MESSAGE' | 'REACTION';
|
||||
|
||||
interface PartialUser extends Partialize<User, 'flags' | 'locale' | 'system' | 'tag' | 'username'> {
|
||||
interface PartialUser extends Partialize<User, 'bot' | 'flags' | 'locale' | 'system' | 'tag' | 'username'> {
|
||||
bot: User['bot'];
|
||||
flags: User['flags'];
|
||||
locale: User['locale'];
|
||||
system: User['system'];
|
||||
|
|
|
|||
Loading…
Reference in a new issue