This commit is contained in:
crate 2024-10-10 14:27:00 +00:00
parent 272e54240d
commit 07f6e11f50

View File

@ -10,7 +10,8 @@ TOKEN = config.BOT_TOKEN
USER_ID = config.USER_ID
PREFIX = '$'
bot = commands.Bot(command_prefix=PREFIX, intents=discord.Intents.all())
intents = discord.Intents.default()
bot = commands.Bot(command_prefix=PREFIX, intents=intents)
def setup_logging():
logger = logging.getLogger('termlog')