Added /drawtriangle command

master
Chloe Fontenot 🏳️‍⚧️ 2023-04-04 21:12:00 +07:00
parent a1c135e085
commit 83ab674cdd
1 changed files with 1 additions and 1 deletions

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