Exemple #1
0
    def __init__(self):
        self.PREFIX = PREFIX
        self.ready = False
        self.guild = None
        self.scheduler = AsyncIOScheduler()

        db.autosave(self.scheduler)

        # Inherits BotBase
        super().__init__(command_prefix=PREFIX, intents=Intents.all())
Exemple #2
0
    def __init__(self):
        # self.PREFIX = PREFIX
        self.ready = False
        self.cogs_ready = Ready()
        self.guild = None
        self.scheduler = AsyncIOScheduler()

        db.autosave(self.scheduler)
        super().__init__(command_prefix=get_prefix,
                         owner_ids=OWNER_IDS,
                         intents=Intents().all())
Exemple #3
0
    def __init__(self):
        self.PREFIX = const.PREFIX
        self.ready = False
        self.cogs_ready = Ready()  # Instantiate cogs ready
        self.guild = None
        self.scheduler = AsyncIOScheduler()

        db.autosave(self.scheduler)

        # Inherits BotBase
        super().__init__(command_prefix=const.PREFIX, intents=Intents.all())
Exemple #4
0
    def __init__(self):
        super().__init__(command_prefix=get_guild_prefix,
                         description="I don't know what I'm doing",
                         intent=intents)
        self.owner_id = OWNER_ID
        self.ready = False
        self.guild = self.get_guild(562178654151507981)
        self.Scheduler = AsyncIOScheduler()
        # self.log_channel = self.get_channel(757112954599768064)

        db.autosave(self.Scheduler)
Exemple #5
0
    def __init__(self):
        self.PREFIX = PREFIX
        self.ready = False
        self.guild = None
        self.scheduler = AsyncIOScheduler()

        db.autosave(self.scheduler)
        super().__init__(
            command_prefix=PREFIX,
            owner_ids=OWNER_IDS,
            intents=Intents.all(),
        )