Discord/modules/client.py

11 lines
242 B
Python
Raw Normal View History

2024-06-23 13:05:03 +03:00
from discord import Intents
from libbot.pycord.classes import PycordBot
2023-05-02 16:46:15 +03:00
2024-12-16 21:59:10 +02:00
from modules.scheduler import scheduler
intents: Intents = Intents().all()
2023-05-02 16:46:15 +03:00
intents.members = True
2024-12-16 21:59:10 +02:00
client: PycordBot = PycordBot(intents=intents, scheduler=scheduler)