From fbcd9869a0104910f0c081f854080ec5e5eb9d1f Mon Sep 17 00:00:00 2001 From: elliot Date: Fri, 24 Sep 2021 18:34:12 +0200 Subject: [PATCH] Updated token system --- bot.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bot.py b/bot.py index 4e02a47..7bb3fa3 100644 --- a/bot.py +++ b/bot.py @@ -5,7 +5,6 @@ import logging import sys from discord.ext import commands, tasks from discord.ext.commands import has_permissions, MissingPermissions -from dotenv import load_dotenv import aiohttp import mimetypes import requests @@ -15,8 +14,7 @@ import requests bot = commands.Bot(command_prefix=".", intents=discord.Intents.default(), case_insensitive=True) -load_dotenv() -token = os.getenv('token') +token = os.getenv('discord-bot-token') logging.basicConfig(filename='console.log', level=logging.INFO,