mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
fix(Integration): user might not be present (#4691)
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -890,7 +890,7 @@ declare module 'discord.js' {
|
||||
public syncedAt: number;
|
||||
public syncing: boolean;
|
||||
public type: string;
|
||||
public user: User;
|
||||
public user?: User;
|
||||
public delete(reason?: string): Promise<Integration>;
|
||||
public edit(data: IntegrationEditData, reason?: string): Promise<Integration>;
|
||||
public sync(): Promise<Integration>;
|
||||
|
||||
Reference in New Issue
Block a user