discord-slim
Advanced tools
Comparing version 2.0.0-dev.13 to 2.0.0-dev.14
@@ -8,1 +8,2 @@ export { Client, ClientEvents } from './client'; | ||
export { Types }; | ||
export * as Tools from './tools'; |
@@ -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 @@ }, |
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
132708
19
2716