Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCasalegno committed Jan 22, 2022
1 parent bc2ccee commit 036f997
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 0 additions & 11 deletions commands/decrypt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]})
}
}
}
1 change: 1 addition & 0 deletions commands/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 036f997

Please sign in to comment.