diff --git a/pybot-f.py b/pybot-f.py index a2255f7..626af43 100644 --- a/pybot-f.py +++ b/pybot-f.py @@ -30,6 +30,7 @@ intents.message_content = True config = configparser.ConfigParser() config.read('bot.ini') + bottoken = config['General']['bottoken'] # Setting up commands.Bot @@ -80,7 +81,7 @@ async def sync(ctx: commands.Context, guilds: commands.Greedy[discord.Object], await ctx.send(f"Synced the tree to {fmt}/{len(guilds)} guilds.") -# loading extensions ... +# startup loading extensions ... async def scanext(): print("Loading extensions:") for filename in os.listdir("./ext"):