Only ignore bots if that bot is myself
This commit is contained in:
@@ -19,9 +19,9 @@ module.exports = {
|
||||
.setRequired(true)
|
||||
),
|
||||
async execute(interaction) {
|
||||
var abbreviation = interaction.options.getString('abbreviation');
|
||||
var abbreviation = interaction.options.toLowerCase().getString('abbreviation');
|
||||
var phrase = interaction.options.getString('phrase');
|
||||
await interaction.reply('Adding phrase `' + abbreviation + "` to target list. This will complete to the phrase `" + phrase + "`");
|
||||
await interaction.reply('Adding abbreviation `' + abbreviation + "` to target list. This will complete to the phrase `" + phrase + "`");
|
||||
addPhrase(abbreviation, phrase);
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user