From 036f997c27cb23328a6668da02e59b6b0dcf28b8 Mon Sep 17 00:00:00 2001 From: The Casalegno Date: Sat, 22 Jan 2022 16:31:33 +0100 Subject: [PATCH] bug fix --- commands/decrypt.js | 11 ----------- commands/help.js | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/commands/decrypt.js b/commands/decrypt.js index afab417..c0d6138 100644 --- a/commands/decrypt.js +++ b/commands/decrypt.js @@ -7,18 +7,7 @@ module.exports = { description: "Decrypt a message" }, async execute(interaction) { - var user = interaction.user - if(user.id == "821044835862839330") { let text = interaction.options.getString('text').toLowerCase(); interaction.reply({ content: `${letterTrans(text, rot)}` }) - }else{ - - const embedEvent = new Discord.MessageEmbed() - .setAuthor({ name: 'Cypherer - Coming soon...', iconURL: 'https://iili.io/YMpe9f.md.png' }) - .setDescription('<:Stage:929440782023266364> The bot will be available again after the [BotGround Public Launch](https://discord.gg/3BTc3Ezz?event=929437079295909929). Stay up to date and run to follow the event! Join the [community](https://discord.com/invite/cYySBAeJYb) to find out more.') - - - interaction.reply({content: 'https://discord.gg/PXnj3ceCBM?event=929437079295909929', embeds: [embedEvent]}) - } } } \ No newline at end of file diff --git a/commands/help.js b/commands/help.js index c860fee..fea7dc8 100644 --- a/commands/help.js +++ b/commands/help.js @@ -9,6 +9,7 @@ module.exports = { description: "Help of commands" }, async execute(interaction) { + var user = interaction.user const row = new Discord.MessageActionRow() .addComponents( new Discord.MessageButton()