Jump to content
×
×
  • Create New...
  • 0

config.json issues with Discord bot.


Lucky Designs
 Share

Reason for Locking
Question Answered by Developer

By BGHDDevelopment, on 06/25/20 09:35 PM.

Question

Heyo!


Trying to add the Discord bot into my server, and anytime I input the code as displayed on the release post for the Discord bot, I receive an error in which FivePD unloads due to a config.json error. This error only occurs with that code added into my config.json, and otherwise 1.1 is working great.

 

Here is the code block via pastebin, without the actual Discord code and relevant database info included for server privacy reasons.

Edited by SGTPayne
Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hey, I do believe that there is a JSON error with your formatting - some character spacing issues.

 

Here is what works for me and I believe is the correct formatting:

  },
"Discord": {
    "enable": true,
    "token": "INSERTTOKEN"
}

 

Link to post
Share on other sites

  • 0
33 minutes ago, Smanbg said:

Hey, I do believe that there is a JSON error with your formatting - some character spacing issues.

 

Here is what works for me and I believe is the correct formatting:


  },
"Discord": {
    "enable": true,
    "token": "INSERTTOKEN"
}

 

image.png.762b036a9e7b540040a179f2abe342cc.png

Same issue unfortunately.

Link to post
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

Important Information

Please view the site: Terms of Use, Privacy Policy, and Guidelines. // IMPORTANT: 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.