mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
types: add all types for GuildAuditLogsEntry#target (#4738)
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
46acfac327
commit
2dc70af717
13
typings/index.d.ts
vendored
13
typings/index.d.ts
vendored
@@ -748,7 +748,18 @@ declare module 'discord.js' {
|
||||
public extra: object | Role | GuildMember | null;
|
||||
public id: Snowflake;
|
||||
public reason: string | null;
|
||||
public target: Guild | User | Role | GuildEmoji | Invite | Webhook | Integration | null;
|
||||
public target:
|
||||
| Guild
|
||||
| GuildChannel
|
||||
| User
|
||||
| Role
|
||||
| GuildEmoji
|
||||
| Invite
|
||||
| Webhook
|
||||
| Message
|
||||
| Integration
|
||||
| { id: Snowflake }
|
||||
| null;
|
||||
public targetType: GuildAuditLogsTarget;
|
||||
public toJSON(): object;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user