Socket
Socket
Sign inDemoInstall

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.5.1 to 2.5.2

6

dist/actions.d.ts

@@ -602,3 +602,3 @@ /// <reference types="node" />

channel_id?: string | null;
entity_metadata?: types.ScheduledEventEntityMetadata;
entity_metadata?: types.ScheduledEventEntityMetadata | null;
name?: string;

@@ -608,6 +608,6 @@ privacy_level?: helpers.ScheduledEventPrivacyLevels;

scheduled_end_time?: string;
description?: string;
description?: string | null;
entity_type?: helpers.ScheduledEventEntityTypes;
status?: helpers.ScheduledEventStatuses;
image?: string;
image?: string | null;
}, requestOptions?: RequestOptions | undefined) => Promise<types.ScheduledEvent>;

@@ -614,0 +614,0 @@ Delete: (guild_id: string, event_id: string, requestOptions?: RequestOptions | undefined) => Promise<null>;

@@ -48,3 +48,3 @@ export declare const HOST = "https://discord.com", API: "https://discord.com/api", API_VERSION = 9, API_PATH: "https://discord.com/api/v9", CDN = "https://cdn.discordapp.com";

readonly SEND_MESSAGES_IN_THREADS: bigint;
readonly START_EMBEDDED_ACTIVITIES: bigint;
readonly USE_EMBEDDED_ACTIVITIES: bigint;
readonly MODERATE_MEMBERS: bigint;

@@ -51,0 +51,0 @@ };

@@ -49,3 +49,3 @@ export const HOST = 'https://discord.com', API = `${HOST}/api`, API_VERSION = 9, API_PATH = `${API}/v${API_VERSION}`, CDN = 'https://cdn.discordapp.com';

SEND_MESSAGES_IN_THREADS: 1n << 38n,
START_EMBEDDED_ACTIVITIES: 1n << 39n,
USE_EMBEDDED_ACTIVITIES: 1n << 39n,
MODERATE_MEMBERS: 1n << 40n,

@@ -52,0 +52,0 @@ };

export { Client, ClientEvents } from './client.js';
export { Authorization } from './request.js';
export { Events } from './events.js';
import * as Actions from './actions.js';
import * as Helpers from './helpers.js';
export * as Actions from './actions.js';
export * as Helpers from './helpers.js';
import type * as Types from './types';
import * as Tools from './tools.js';
export { Actions, Helpers, Types, Tools };
export type { Types };
export * as Tools from './tools.js';
export { Voice, VoiceEvents } from './voice.js';
export { Client, ClientEvents } from './client.js';
export { Authorization } from './request.js';
export { Events } from './events.js';
import * as Actions from './actions.js';
import * as Helpers from './helpers.js';
import * as Tools from './tools.js';
export { Actions, Helpers, Tools };
export * as Actions from './actions.js';
export * as Helpers from './helpers.js';
export * as Tools from './tools.js';
export { Voice, VoiceEvents } from './voice.js';

@@ -502,3 +502,2 @@ import type * as helpers from './helpers';

expires_at?: string | null;
stage_instance?: InviteStageInstance;
guild_scheduled_event?: ScheduledEvent;

@@ -513,8 +512,2 @@ };

};
export declare type InviteStageInstance = {
members: Member[];
participant_count: number;
speaker_count: number;
topic: string;
};
export declare type Template = {

@@ -876,2 +869,3 @@ code: string;

privacy_level: helpers.PrivacyLevels;
guild_scheduled_event_id: string | null;
};

@@ -911,3 +905,3 @@ export declare type Sticker = {

name: string;
description?: string;
description?: string | null;
scheduled_start_time: string;

@@ -922,3 +916,3 @@ scheduled_end_time: string | null;

user_count?: number;
image: string | null;
image?: string | null;
};

@@ -925,0 +919,0 @@ export declare type ScheduledEventEntityMetadata = {

{
"name": "discord-slim",
"version": "2.5.1",
"version": "2.5.2",
"description": "Lightweight Discord API library for Node.js.",

@@ -5,0 +5,0 @@ "author": "Hanabishi",

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