fixed horrible typo

This commit is contained in:
Loïc Bersier 2019-07-09 01:52:51 +02:00
parent fb3bd8a85c
commit be1e85841f
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ class UnTagCommand extends Command {
const tag = await Tag.findOne({where: {trigger: args.trigger, serverID: message.guild.id}});
if (tag) {
Tag.destroy({where: {trigger: args.trigger, serverID: message.guild.id}});
return message.channel.send('Sucesffuly deleted the following tag: ' + args.trigger);
return message.channel.send('successfully deleted the following tag: ' + args.trigger);
} else {
return message.channel.send('Did not find the specified tag, are you sure it exist?');
}

View file

@ -31,7 +31,7 @@ class removeResponseCommand extends Command {
const autoresponse = await autoResponse.findOne({where: {trigger: args.trigger}});
if (autoresponse) {
autoResponse.destroy({where: {trigger: args.trigger}});
return message.channel.send('Sucesffuly deleted the following autoresponse: ' + args.trigger);
return message.channel.send('successfully deleted the following autoresponse: ' + args.trigger);
} else {
return message.channel.send('Did not find the specified autoresponse, are you sure it exist?');
}