Virtual-Royaume / Royaume-Discord-Bot

It is the bot of our Discord community, it offers various utility features. It is written in TypeScript and uses DiscordJS to interact with the Discord API.
9 stars 1 forks source link

Erreur sur l'event `GithubLinkReaction` #170

Closed Bluzzi closed 1 year ago

Bluzzi commented 1 year ago
node:events:491
throw er; // Unhandled 'error' event
^
SyntaxError: Unexpected token 'i', "import htt"... is not valid JSON
at JSON.parse (<anonymous>)
at packageData (node:internal/deps/undici/undici:6403:23)
at specConsumeBody (node:internal/deps/undici/undici:6381:14)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at restRequest (/usr/src/app/src/utils/request/request.ts:34:11)
at GithubLinkReaction.execute (/usr/src/app/src/events/list/GithubLinkReaction.ts:62:28)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:394:10)
at processTicksAndRejections (node:internal/process/task_queues:84:21)