Apply suggestion to src/commands/djs.ts

merge-requests/12/head
Bsian 2020-05-19 17:49:10 -04:00
parent 5225a2bda2
commit ed9a937155
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ export default class DJS extends Command {
try { try {
if (!args[0]) return this.client.commands.get('help').run(message, [this.name]); if (!args[0]) return this.client.commands.get('help').run(message, [this.name]);
let res: AxiosResponse<any>; let res: AxiosResponse<EmbedOptions>;
try { try {
res = await axios.get(`https://djsdocs.sorta.moe/v2/embed?src=master&q=${args[0]}`); res = await axios.get(`https://djsdocs.sorta.moe/v2/embed?src=master&q=${args[0]}`);
} catch (err) { } catch (err) {