You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which application or package is this feature request for?
discord.js
Feature
Why does InteractionCreate work with slashcommand but MessageCreate doesn't?
I'll only show this part, it's too long and I don't know if you guys have any idea :<
Ideal solution or implementation
Why not combine "InteractionCreate" and "MessageCreate" to give two functions "interaction.isCommand", "interaction.isMessage"
Which application or package is this feature request for?
discord.js
Feature
Why does InteractionCreate work with slashcommand but MessageCreate doesn't?
I'll only show this part, it's too long and I don't know if you guys have any idea :<
Ideal solution or implementation
Why not combine "InteractionCreate" and "MessageCreate" to give two functions "interaction.isCommand", "interaction.isMessage"
Alternative solutions or implementations
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
Other context
Code:
if (message.author.bot) return;
console.log(message.content)
const channelid = message.channel.id;
if (isAutoBypass[channelid]) {
try {
const content = message.channel.content;
if (content.startsWith("https://flux.li/android/external/start.php?HWID=")) {
if (isDisableCommand("fluxus")) {
await interaction.reply({
embeds: [
{
title: 'Access Denied',
description:
Sorry its auto fluxus disable by ${madeby}
,color: '15158332',
footer: {
text:
Made by ${madeby}
,icon_url: footer,
},
}
]
});
return;
}
const userTag =
<@${message.user.id}>
;const server = message.guild ? message.guild.name : null;
The text was updated successfully, but these errors were encountered: