diff --git a/bot.py b/bot.py index 2ef7382..3bb9b2b 100644 --- a/bot.py +++ b/bot.py @@ -1,12 +1,12 @@ from datetime import datetime, timedelta from pathlib import Path -from modules.logging_colors import logger from threading import Lock import asyncio import random import json import re import copy +import logging import math import glob import os @@ -16,6 +16,9 @@ from discord import app_commands import torch +logger = logging.getLogger("discord") +logger.propagate = False + # Intercept custom bot arguments import sys bot_arg_list = ["--limit-history", "--token"]