Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-04-04 21:12:04 -05:00
commit e901afe66f

View File

@ -16,7 +16,7 @@ module.exports = {
), ),
async execute(interaction, client) { async execute(interaction, client) {
var inputString = interaction.options.getString('string'); var inputString = interaction.options.getString('string');
var design = interaction.options.getString('design'); var design = parseInt(interaction.options.getString('design'));
if (design < 1 || design > 3) { if (design < 1 || design > 3) {
await interaction.reply('Invalid design choice.'); await interaction.reply('Invalid design choice.');
} }