from discord.ext import commands import utils.data as data CONFIG = data.load_json("config") bot = commands.Bot() cogs_list = [ 'basic', 'roles', 'ksp', ] for cog in cogs_list: bot.load_extension(f'cogs.{cog}') bot.run(CONFIG["token"])