forked from Supositware/Haha-Yes
fixed horrible typo
This commit is contained in:
parent
fb3bd8a85c
commit
be1e85841f
2 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ class UnTagCommand extends Command {
|
||||||
const tag = await Tag.findOne({where: {trigger: args.trigger, serverID: message.guild.id}});
|
const tag = await Tag.findOne({where: {trigger: args.trigger, serverID: message.guild.id}});
|
||||||
if (tag) {
|
if (tag) {
|
||||||
Tag.destroy({where: {trigger: args.trigger, serverID: message.guild.id}});
|
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 {
|
} else {
|
||||||
return message.channel.send('Did not find the specified tag, are you sure it exist?');
|
return message.channel.send('Did not find the specified tag, are you sure it exist?');
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,7 +31,7 @@ class removeResponseCommand extends Command {
|
||||||
const autoresponse = await autoResponse.findOne({where: {trigger: args.trigger}});
|
const autoresponse = await autoResponse.findOne({where: {trigger: args.trigger}});
|
||||||
if (autoresponse) {
|
if (autoresponse) {
|
||||||
autoResponse.destroy({where: {trigger: args.trigger}});
|
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 {
|
} else {
|
||||||
return message.channel.send('Did not find the specified autoresponse, are you sure it exist?');
|
return message.channel.send('Did not find the specified autoresponse, are you sure it exist?');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue