mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-21 20:54:58 +05:00
remove SC check
This commit is contained in:
parent
8414ef0b83
commit
39f34d45ee
1 changed files with 1 additions and 3 deletions
|
@ -33,10 +33,8 @@ class CommandHandler extends BaseEvent {
|
|||
if (interaction.isButton() && interaction.customId === "quote_delete" && interaction.message.deletable) return interaction.message.delete();
|
||||
if (interaction.type !== InteractionType.ApplicationCommand && !interaction.isCommand()) return;
|
||||
|
||||
if (command.ownerOnly && interaction.user.id !== client.config.owner.id) return interaction.error("misc:OWNER_ONLY", null, { ephemeral: true });
|
||||
|
||||
if (!interaction.guildId === "1039187019957555252") return interaction.error({ content: "IAT Only", ephemeral: true });
|
||||
if (!interaction.guildId === "600970971410857996") return interaction.error({ content: "SC Only", ephemeral: true });
|
||||
if (command.ownerOnly && interaction.user.id !== client.config.owner.id) return interaction.error("misc:OWNER_ONLY", null, { ephemeral: true });
|
||||
|
||||
if (!userData.achievements.firstCommand.achieved) {
|
||||
const args = {
|
||||
|
|
Loading…
Reference in a new issue