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.0.0-dev.13 to 2.0.0-dev.14

dist/tools.d.ts

1

dist/index.d.ts

@@ -8,1 +8,2 @@ export { Client, ClientEvents } from './client';

export { Types };
export * as Tools from './tools';

3

dist/index.js

@@ -22,3 +22,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Helpers = exports.Actions = exports.Events = exports.TokenTypes = exports.Authorization = exports.ClientEvents = exports.Client = void 0;
exports.Tools = exports.Helpers = exports.Actions = exports.Events = exports.TokenTypes = exports.Authorization = exports.ClientEvents = exports.Client = void 0;
var client_1 = require("./client");

@@ -34,1 +34,2 @@ Object.defineProperty(exports, "Client", { enumerable: true, get: function () { return client_1.Client; } });

exports.Helpers = __importStar(require("./helpers"));
exports.Tools = __importStar(require("./tools"));
{
"name": "discord-slim",
"version": "2.0.0-dev.13",
"version": "2.0.0-dev.14",
"description": "Lightweight Discord bot API for Node.js.",

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

@@ -82,3 +82,3 @@ # Discord Slim

Actions.Message.Create(message.channel_id, {
content: `Hi, <@${message.author.id}>!`,
content: `Hi, ${Tools.Mentions.User(message.author.id)}!`,
message_reference: {

@@ -134,3 +134,3 @@ channel_id: message.channel_id,

data: {
content: interaction.data.options[0].value,
content: interaction.data.options[0].value.toString(),
flags: Helpers.InteractionResponseFlags.EPHEMERAL,

@@ -137,0 +137,0 @@ },

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