Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

discord-slim

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

discord-slim - npm Package Compare versions

Comparing version 2.6.5 to 2.6.6

dist/actions/gateway.d.ts

1

dist/actions.d.ts

@@ -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;

14

dist/types.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc