Skip to content

Commit

Permalink
docs: document audit log after parameter (abalabahaha#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
TTtie committed Jan 7, 2023
1 parent 80af5c7 commit 13d56c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -982,6 +982,7 @@ declare namespace Dysnomia {
}
interface GetGuildAuditLogOptions {
actionType?: number;
after?: string;
before?: string;
limit?: number;
userID?: string;
Expand Down
1 change: 1 addition & 0 deletions lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2209,6 +2209,7 @@ class Client extends EventEmitter {
* @arg {String} guildID The ID of the guild to get audit logs for
* @arg {Object} [options] Options for the request
* @arg {Number} [options.actionType] Filter entries by action type
* @arg {String} [options.after] Get entries after this entry ID
* @arg {String} [options.before] Get entries before this entry ID
* @arg {Number} [options.limit=50] The maximum number of entries to return
* @arg {String} [options.userID] Filter entries by the user that performed the action
Expand Down
1 change: 1 addition & 0 deletions lib/structures/Guild.js
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,7 @@ class Guild extends Base {
* Get the audit log for the guild
* @arg {Object} [options] Options for the request.
* @arg {Number} [options.actionType] Filter entries by action type
* @arg {String} [options.after] Get entries after this entry ID
* @arg {String} [options.before] Get entries before this entry ID
* @arg {Number} [options.limit=50] The maximum number of entries to return
* @arg {String} [options.userID] Filter entries by the user that performed the action
Expand Down

0 comments on commit 13d56c0

Please sign in to comment.