diff --git a/bot/__init__.py b/bot/__init__.py index 1f29082e..a0de9abd 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -14,7 +14,6 @@ # along with this program. If not, see . import datetime -import logging import os import random @@ -28,12 +27,6 @@ from discord.ext.commands import when_mentioned_or from bot.libs.cache import MyCoolCache -logger = logging.getLogger('discord') -logger.setLevel(logging.DEBUG) -handler = logging.FileHandler(filename='discord.log', encoding='utf-8', mode='w') -handler.setFormatter(logging.Formatter('%(asctime)s:%(levelname)s:%(name)s: %(message)s')) -logger.addHandler(handler) - counter = 0 # Get DB information from .env