Improved type-hinting and overall sanity checks implemented.
This commit is contained in:
@@ -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)
|
||||
|
@@ -1,3 +1,3 @@
|
||||
from apscheduler.schedulers.asyncio import AsyncIOScheduler
|
||||
|
||||
scheduler = AsyncIOScheduler()
|
||||
scheduler: AsyncIOScheduler = AsyncIOScheduler()
|
||||
|
Reference in New Issue
Block a user