chore: deps

This commit is contained in:
iCrawl
2022-09-04 19:33:57 +02:00
parent 8b3d006118
commit 4ffdada4f7
21 changed files with 722 additions and 612 deletions

View File

@@ -84,7 +84,6 @@ export class DiscordAPIError extends Error {
return error.error_description ?? 'No Description';
}
// eslint-disable-next-line consistent-return
private static *flattenDiscordError(obj: DiscordError, key = ''): IterableIterator<string> {
if (isErrorResponse(obj)) {
return yield `${key.length ? `${key}[${obj.code}]` : `${obj.code}`}: ${obj.message}`.trim();