Update imports for new file structure.

This commit is contained in:
2025-03-19 09:57:36 -04:00
parent 89534ed5b8
commit 12b700f340
25 changed files with 102 additions and 83 deletions
+14
View File
@@ -0,0 +1,14 @@
"""Starts the app for dakiny_bot."""
import logging
from .app import run
nextcord_logger = logging.getLogger("nextcord")
nextcord_logger.setLevel(logging.DEBUG)
nextcord_handler = logging.FileHandler(filename="nextcord.log", encoding="utf-8", mode="w")
nextcord_handler.setFormatter(logging.Formatter("%(asctime)s:%(levelname)s:%(name)s: %(message)s"))
nextcord_logger.addHandler(nextcord_handler)
if __name__ == "__main__":
run()