@conflict/beta
Advanced tools
Comparing version 0.9.12 to 0.9.13
{ | ||
"name": "@conflict/beta", | ||
"version": "0.9.12", | ||
"version": "0.9.13", | ||
"description": "The first and only UI framework for Discord bots", | ||
@@ -5,0 +5,0 @@ "main": "exports.js", |
@@ -123,3 +123,3 @@ import Discord from 'discord.js'; | ||
this.applyTo = async function (channel, options, isInteraction) { | ||
let output = isInteraction ? channel.reply(this, options, ...attachments) : channel.send(this, ...attachments); | ||
let output = isInteraction ? channel.reply(this.toObject(), options, ...attachments) : channel.send(this, ...attachments); | ||
if (output instanceof Promise) output = await output; | ||
@@ -126,0 +126,0 @@ if (output instanceof Discord.Message) { |
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
92917