diff --git a/types/guild.ts b/types/guild.ts index 322964dce..1ab02b598 100644 --- a/types/guild.ts +++ b/types/guild.ts @@ -166,7 +166,7 @@ export interface Guild { /** Begin pruning all members in the given time period */ prune_members(days: number): Promise /** Returns the audit logs for the guild. Requires VIEW AUDIT LOGS permission */ - get_audit_logs(options: Get_audit_logsOptions): Promise + get_audit_logs(options: Get_Audit_Logs_Options): Promise /** Returns the guild embed object. Requires the MANAGE_GUILD permission. */ get_embed(): Promise /** Modify a guild embed object for the guild. Requires the MANAGE_GUILD permission. */ @@ -194,8 +194,9 @@ export interface Guild { /** Leave a guild */ leave(): Promise /** Returns a list of voice region objects for the guild. Unlike the similar /voice route, this returns VIP servers when the guild is VIP-enabled. */ - get_voice_regions(): Promise - leave_voice_channel(): Promise + get_voice_regions(): Promise + /** Returns a list of guild webhooks objects. Requires the MANAGE_WEBHOOKs permission. */ + get_webhooks(): Promise } export interface Voice_Region {