mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
"Edited an indent"
This commit is contained in:
parent
ec927178b6
commit
139502c021
1 changed files with 1 additions and 2 deletions
|
@ -14,8 +14,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': 'int', 'owner_id': 'int', 'permissions': 'int', 'shutdown_channel': 'int', 'startup_channel': 'int',
|
json.dump({'client_id': 'int', 'owner_id': 'int', 'permissions': 'int', 'shutdown_channel': 'int', 'startup_channel': 'int', 'token': 'str'}, outfile, indent=4, sort_keys=True)
|
||||||
'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.')
|
||||||
|
|
||||||
bot = commands.Bot(command_prefix=commands.when_mentioned_or(','), description='Experimental booru bot')
|
bot = commands.Bot(command_prefix=commands.when_mentioned_or(','), description='Experimental booru bot')
|
||||||
|
|
Loading…
Reference in a new issue