@conflict/beta
Advanced tools
Comparing version 0.9.20 to 0.9.21
{ | ||
"name": "@conflict/beta", | ||
"version": "0.9.20", | ||
"version": "0.9.21", | ||
"description": "The first and only UI framework for Discord bots", | ||
@@ -5,0 +5,0 @@ "main": "exports.js", |
@@ -123,3 +123,8 @@ import Discord from 'discord.js'; | ||
this.applyTo = async function (channel, options, isInteraction, isVercel) { | ||
let output = isVercel ? channel.reply(parsed, options) : isInteraction ? channel.reply(this, options, ...attachments) : channel.send(this, ...attachments); | ||
if (isVercel) { | ||
console.log('isVercel'); | ||
console.log({ parsed, target }); | ||
channel.reply(parsed, options); | ||
} | ||
let output = isInteraction ? channel.reply(this, options, ...attachments) : channel.send(this, ...attachments); | ||
if (output instanceof Promise) output = await output; | ||
@@ -126,0 +131,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
93826
2385