fix typos

merge-requests/11/merge
Matthew 2020-05-05 19:30:04 -04:00
parent e958c7f4c3
commit 5be0c631bd
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export default class DelRedirect extends Command {
try { try {
if (args[0]) { if (args[0]) {
const redirects = await this.client.db.redirect.find({ $or: [{ key: args[0].toLowerCase() }, { to: args[0].toLowerCase() }] }); const redirects = await this.client.db.redirect.find({ $or: [{ key: args[0].toLowerCase() }, { to: args[0].toLowerCase() }] });
if (!redirects) return this.error(message.channel, 'Could not find an entry matching that query.'); if (redirects.length <= 0) return this.error(message.channel, 'Could not find an entry matching that query.');
const embed = new RichEmbed(); const embed = new RichEmbed();
embed.setTitle('Redirect Information'); embed.setTitle('Redirect Information');
for (const redirect of redirects) { for (const redirect of redirects) {