Add countChars function

This commit is contained in:
2023-04-04 17:20:28 -05:00
parent 9d5ef6f883
commit 03935a0cee
4 changed files with 19 additions and 19 deletions

View File

@@ -18,7 +18,7 @@ module.exports = {
.setDescription("The phrase that the abbreviation shortens")
.setRequired(true)
),
async execute(interaction) {
async execute(interaction, client) {
var abbreviation = interaction.options.getString('abbreviation').toLowerCase();
var phrase = interaction.options.getString('phrase');
await interaction.reply('Adding abbreviation `' + abbreviation + "` to target list. This will complete to the phrase `" + phrase + "`");