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

Autopaste throws a fatal error #36

@zleyyij

Description

@zleyyij

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions