diff --git a/src/utils.ts b/src/utils.ts index aca89a6e..33fb6af3 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -404,7 +404,7 @@ export function downloadFile(attachmentUrl: string, retries = 3): Promise<{ path if (retries === 0) { throw httpsErr; } else { - console.warn("File download failed, retrying. Error given:", httpsErr.message); + console.warn("File download failed, retrying. Error given:", httpsErr.message); // tslint:disable-line resolve(downloadFile(attachmentUrl, retries - 1)); } }); @@ -650,6 +650,10 @@ export async function resolveUser(bot: Client, value: string): Promise