Improved type-hinting and overall sanity checks implemented.

This commit is contained in:
kku
2024-12-16 20:34:37 +01:00
parent 5c763fc02e
commit c05cf64ae0
14 changed files with 193 additions and 165 deletions

View File

@@ -1,6 +1,8 @@
from discord import Intents
from libbot.pycord.classes import PycordBot
intents = Intents().all()
intents: Intents = Intents().all()
intents.members = True
client = PycordBot(intents=intents)
client: PycordBot = PycordBot(intents=intents)

View File

@@ -1,3 +1,3 @@
from apscheduler.schedulers.asyncio import AsyncIOScheduler
scheduler = AsyncIOScheduler()
scheduler: AsyncIOScheduler = AsyncIOScheduler()