mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +00:00
Add class doc blocks to Audit Logs (#1438)
This commit is contained in:
parent
c5efa985fc
commit
1ddae43fed
1 changed files with 7 additions and 0 deletions
|
|
@ -38,6 +38,10 @@ const Actions = {
|
|||
EMOJI_DELETE: 62,
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Audit logs entries are held in this class
|
||||
*/
|
||||
class GuildAuditLogs {
|
||||
constructor(guild, data) {
|
||||
if (data.users) for (const user of data.users) guild.client.dataManager.newUser(user);
|
||||
|
|
@ -124,6 +128,9 @@ class GuildAuditLogs {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Audit logs entry
|
||||
*/
|
||||
class GuildAuditLogsEntry {
|
||||
constructor(guild, data) {
|
||||
const targetType = GuildAuditLogs.targetType(data.action_type);
|
||||
|
|
|
|||
Loading…
Reference in a new issue