Jump to content

bot error Unexpected token

Pending 2.1.2

PureJaguar
PureJaguar

Posted

Hi
Seems we are now getting this error from the bot. Bot starts up with no issues until a player tries to link their account, and we get this with the bot

SyntaxError: Unexpected token < in JSON at position 0
06-08 15:51:01     at JSON.parse (<anonymous>)
06-08 15:51:01     at /home/container/DiscordLink/src/linkingHandler.js:677:30
06-08 15:51:01     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

PureJaguar

Posted

Hi 
I managed to fix this by adding applications.command  within the bot itself
image.png.3d8df437ba827b389594e0b4bc12b2f9.png

1.8m

Downloads

Total number of downloads.

8.4k

Customers

Total customers served.

126.6k

Files Sold

Total number of files sold.

2.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.