aboutsummaryrefslogtreecommitdiffstats
path: root/dev/bot
diff options
context:
space:
mode:
Diffstat (limited to 'dev/bot')
-rw-r--r--dev/bot/__init__.py4
-rw-r--r--dev/bot/__main__.py4
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 []