Apply suggestion to src/commands/djs.ts
parent
5225a2bda2
commit
ed9a937155
|
@ -17,7 +17,7 @@ export default class DJS extends Command {
|
|||
try {
|
||||
if (!args[0]) return this.client.commands.get('help').run(message, [this.name]);
|
||||
|
||||
let res: AxiosResponse<any>;
|
||||
let res: AxiosResponse<EmbedOptions>;
|
||||
try {
|
||||
res = await axios.get(`https://djsdocs.sorta.moe/v2/embed?src=master&q=${args[0]}`);
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in New Issue