Browse Source

Updated token system

master
elliot 3 years ago
parent
commit
fbcd9869a0
  1. 4
      bot.py

4
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,

Loading…
Cancel
Save