Skip to content

Commit

Permalink
Fix logging
Browse files Browse the repository at this point in the history
  • Loading branch information
xNul committed Jun 3, 2023
1 parent f648056 commit b96e500
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bot.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"]
Expand Down

0 comments on commit b96e500

Please sign in to comment.