mirror of
https://github.com/myned/modufur.git
synced 2024-12-24 22:27:28 +00:00
Added listed ids dict
This commit is contained in:
parent
02e69edba7
commit
c45663930e
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ try:
|
||||||
print('\"config.json\" loaded.')
|
print('\"config.json\" loaded.')
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
with open('config.json', 'w') as outfile:
|
with open('config.json', 'w') as outfile:
|
||||||
json.dump({'client_id': 0, 'owner_id': 0, 'permissions': 388160, 'prefix': ',', 'shutdown_channel': 0, 'startup_channel': 0, 'token': 'str'}, outfile, indent=4, sort_keys=True)
|
json.dump({'client_id': 0, 'listed_ids': [0], 'owner_id': 0, 'permissions': 388160, 'prefix': ',', 'shutdown_channel': 0, 'startup_channel': 0, 'token': 'str'}, outfile, indent=4, sort_keys=True)
|
||||||
raise FileNotFoundError('Config file not found: \"config.json\" created with abstract values. Restart \"run.py\" with correct values.')
|
raise FileNotFoundError('Config file not found: \"config.json\" created with abstract values. Restart \"run.py\" with correct values.')
|
||||||
|
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
Loading…
Reference in a new issue