Added /drawtriangle command
This commit is contained in:
parent
a1c135e085
commit
83ab674cdd
@ -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.');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user