Add countChars function
This commit is contained in:
@@ -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 + "`");
|
||||
|
Reference in New Issue
Block a user