discord-slim
Advanced tools
Comparing version 2.6.5 to 2.6.6
@@ -6,2 +6,3 @@ export declare const setDefaultRequestOptions: (options?: import("./request").RequestOptions | undefined) => import("./request").RequestOptions; | ||
export * as Emoji from './actions/emoji'; | ||
export * as Gateway from './actions/gateway'; | ||
export * as GroupDM from './actions/groupdm'; | ||
@@ -8,0 +9,0 @@ export * as Guild from './actions/guild'; |
@@ -15,2 +15,3 @@ import { RequestOptions } from '../request'; | ||
nsfw?: boolean | undefined; | ||
default_auto_archive_duration?: helpers.ThreadArchiveDurations | undefined; | ||
} | { | ||
@@ -17,0 +18,0 @@ type: types.GuildCategory['type']; |
@@ -71,2 +71,3 @@ /// <reference types="node" /> | ||
INTENT = "intent", | ||
INFO = "info", | ||
WARN = "warn", | ||
@@ -85,2 +86,3 @@ ERROR = "error", | ||
}; | ||
[ClientEvents.INFO]: string; | ||
[ClientEvents.WARN]: string; | ||
@@ -87,0 +89,0 @@ [ClientEvents.ERROR]: Error; |
@@ -44,3 +44,3 @@ import type * as helpers from './helpers'; | ||
asset: string; | ||
auto_archive_duration: number; | ||
auto_archive_duration: helpers.ThreadArchiveDurations; | ||
available: boolean; | ||
@@ -240,3 +240,5 @@ avatar_hash: boolean; | ||
me: boolean; | ||
emoji: Emoji; | ||
emoji: Omit<Emoji, 'name'> & { | ||
name: string | null; | ||
}; | ||
}; | ||
@@ -342,3 +344,3 @@ export declare type PermissionsOverwrite = { | ||
id: string | null; | ||
name: string | null; | ||
name: string; | ||
roles?: string[]; | ||
@@ -888,2 +890,8 @@ user?: User; | ||
}; | ||
export declare type SessionStartLimit = { | ||
total: number; | ||
remaining: number; | ||
reset_after: number; | ||
max_concurrency: number; | ||
}; | ||
export declare type Application = { | ||
@@ -890,0 +898,0 @@ id: string; |
{ | ||
"name": "discord-slim", | ||
"version": "2.6.5", | ||
"version": "2.6.6", | ||
"description": "Lightweight Discord API library for Node.js.", | ||
@@ -5,0 +5,0 @@ "author": "Hanabishi", |
@@ -43,2 +43,3 @@ # Discord Slim | ||
client.on(ClientEvents.DISCONNECT, (code) => console.error(`Disconnect. (${code})`)); | ||
client.on(ClientEvents.INFO, console.log); | ||
client.on(ClientEvents.WARN, console.warn); | ||
@@ -45,0 +46,0 @@ client.on(ClientEvents.ERROR, console.error); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
218361
37
4874
174