Skip to content
This repository has been archived by the owner on Jul 7, 2024. It is now read-only.

Autopaste throws a fatal error #36

Open
zleyyij opened this issue Sep 10, 2023 · 0 comments
Open

Autopaste throws a fatal error #36

zleyyij opened this issue Sep 10, 2023 · 0 comments

Comments

@zleyyij
Copy link
Collaborator

zleyyij commented Sep 10, 2023

In this case, it threw the error when i used /google image I think, although I'm not certain.
Sorry for the vague issue, will try to remember to update later
Stack:

SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON
   at JSON.parse (<anonymous>)
   at Client.<anonymous> (C:\Users\usr\Documents\GitHub\TuringBot\src\modules\autopaste.ts:85:33)
   at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Client instance at:
   at emitUnhandledRejectionOrErr (node:events:394:10)
   at process.processTicksAndRejections (node:internal/process/task_queues:84:21)

Node.js v20.3.1

To replicate:
trigger an autopaste, may require an image?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant