diff --git a/src/main/run.py b/src/main/run.py index 388e229..c96f37f 100644 --- a/src/main/run.py +++ b/src/main/run.py @@ -14,8 +14,7 @@ try: print('\"config.json\" loaded.') except FileNotFoundError: with open('config.json', 'w') as outfile: - json.dump({'client_id': 'int', 'owner_id': 'int', 'permissions': 'int', 'shutdown_channel': 'int', 'startup_channel': 'int', - 'token': 'str'}, outfile, indent=4, sort_keys=True) + json.dump({'client_id': 'int', 'owner_id': 'int', 'permissions': 'int', 'shutdown_channel': 'int', 'startup_channel': 'int', '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.') bot = commands.Bot(command_prefix=commands.when_mentioned_or(','), description='Experimental booru bot') @@ -29,7 +28,7 @@ async def on_ready(): print('-------') # Close connection to Discord - immediate offline -@bot.command(name=',die', aliases=[',d', ',close', ',kill'], brief='Kills the bot', description='BOT OWNER ONLY\nCloses the connections to Discord', hidden=True) +@bot.command(name=',die', aliases=[',d', ',close', ',kill'], brief='Kills the bot', description='BOT OWNER ONLY\nCloses the connection to Discord', hidden=True) @checks.del_ctx() @commands.is_owner() async def die(ctx):