- Added initial instructions to README

- Changed few other things.
This commit is contained in:
Uwe Pfeifer 2025-05-07 08:00:40 +02:00
parent 01850ee4e2
commit 1397d84545
2 changed files with 6 additions and 1 deletions

View file

@ -8,6 +8,7 @@ import typing
from discord.ext import commands
import logging
# Logging
loghandler = logging.FileHandler(filename='bot.log', encoding='utf-8', mode='w')
discord.utils.setup_logging(handler=loghandler)
@ -33,6 +34,7 @@ config.read('bot.ini')
bottoken = config['General']['bottoken']
# Setting up commands.Bot
bot = commands.Bot(command_prefix='.', description=description, intents=intents)