Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms
This commit is contained in:
commit
e901afe66f
@ -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.');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user