diff options
author | 2022-11-05 14:15:11 +0000 | |
---|---|---|
committer | 2022-11-05 14:15:11 +0000 | |
commit | 3f55e7149a3197b7fa41fcf7dc7df47a3a209cfd (patch) | |
tree | 11d77db3a48d8226bc1cd14cb18a21d2423b6352 /dev/bot | |
parent | Use New Static Build Site API (#122) (diff) | |
parent | Add six as a dev dep (diff) |
Merge pull request #157 from python-discord/prepare-for-pypi-releasev9.0.0
Prepare for pypi release
Diffstat (limited to 'dev/bot')
-rw-r--r-- | dev/bot/__init__.py | 4 | ||||
-rw-r--r-- | dev/bot/__main__.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/dev/bot/__init__.py b/dev/bot/__init__.py index 71871209..6ee1ae47 100644 --- a/dev/bot/__init__.py +++ b/dev/bot/__init__.py @@ -3,7 +3,7 @@ import logging import os import sys -import botcore +import pydis_core if os.name == "nt": # Change the event loop policy on Windows to avoid exceptions on exit @@ -15,7 +15,7 @@ logging.getLogger().setLevel(logging.DEBUG) logging.getLogger("discord").setLevel(logging.ERROR) -class Bot(botcore.BotBase): +class Bot(pydis_core.BotBase): """Sample Bot implementation.""" async def setup_hook(self) -> None: diff --git a/dev/bot/__main__.py b/dev/bot/__main__.py index 42d212c2..1b1a551a 100644 --- a/dev/bot/__main__.py +++ b/dev/bot/__main__.py @@ -6,11 +6,11 @@ import discord import dotenv from discord.ext import commands -import botcore +import pydis_core from . import Bot dotenv.load_dotenv() -botcore.utils.apply_monkey_patches() +pydis_core.utils.apply_monkey_patches() roles = os.getenv("ALLOWED_ROLES") roles = [int(role) for role in roles.split(",")] if roles else [] |