diff --git a/src/commands/djs.ts b/src/commands/djs.ts index 250fa95..405e0ac 100644 --- a/src/commands/djs.ts +++ b/src/commands/djs.ts @@ -21,8 +21,7 @@ export default class DJS extends Command { try { res = await axios.get(`https://djsdocs.sorta.moe/v2/embed?src=master&q=${args[0]}`); } catch (err) { - this.error(message.channel, 'Please try again later, something unexpected happened.'); - return this.client.util.handleError(err, message, this); + return this.error(message.channel, 'Please try again later, something unexpected happened.'); } if (!res.data) return this.error(message.channel, 'Could not find information. Try something else.');