Questions tagged [config.json]

Config.json is a JSON file that stores the main settings and configuration for ASP.NET 5 applications

34 questions
-1
votes
0 answers

how to use config.json in discord.py

im trying to create a config file but it keeps giving me an error Traceback (most recent call last): File "c:\Users\Bryan\Documents\Bots\ArqadeBotService\main.py", line 15, in config = json.load(file) ^^^^^^^^^^^^^^^ …
Arqade
  • 9
  • 4
-1
votes
1 answer

How to read the values of nested objects from the Config file

This is my config.json File { "timeout":10000 "Status":{ "Error":{"message":"Runtime","continue":False} } } First I want to read the value "Error" and the the value "False" and assign them to two different…
rissa
  • 57
  • 1
  • 7
-2
votes
0 answers

Server is overloaded because of dhcpi

I run the command "htop" in the server and see that the CPU is occupied a lot due to the config.json file in the /usr/lib/updated/config.json directory. What do I have to do to turn it off? enter image description here I disabled the dhcp service…
-2
votes
1 answer

How Do I edit a .json value through discord commands?

Im new to coding and I've coded myself a discord bot coded in Node.js which can change the whole config.json, start the bot, stop the bot, create instances etc... I'm stuck at a part where I want to change a specific part of the config.json and not…
Arachnid
  • 11
  • 1
1 2
3