Socket
Socket
Sign inDemoInstall

@conflict/beta

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conflict/beta - npm Package Compare versions

Comparing version 0.9.20 to 0.9.21

2

package.json
{
"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) {

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