aboutsummaryrefslogtreecommitdiffstats
path: root/dev/bot/__main__.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-05-06 20:09:19 +0100
committerGravatar Chris Lovering <[email protected]>2023-05-31 13:03:54 +0100
commited602405df8e4ddf9e7993e42eea9a5e9afd4856 (patch)
tree3c2284b9d1ef15fa423875be832207b2a06ca291 /dev/bot/__main__.py
parentBump action step versions in CI (diff)
Apply fixes for ruff linting
Diffstat (limited to 'dev/bot/__main__.py')
-rw-r--r--dev/bot/__main__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/bot/__main__.py b/dev/bot/__main__.py
index e28be36b..ea74649c 100644
--- a/dev/bot/__main__.py
+++ b/dev/bot/__main__.py
@@ -7,6 +7,7 @@ import dotenv
from discord.ext import commands
import pydis_core
+
from . import Bot
dotenv.load_dotenv()
@@ -17,7 +18,7 @@ roles = [int(role) for role in roles.split(",")] if roles else []
bot = Bot(
guild_id=int(os.getenv("GUILD_ID")),
- http_session=None, # type: ignore # We need to instantiate the session in an async context
+ http_session=None, # type: ignore We need to instantiate the session in an async context
allowed_roles=roles,
command_prefix=commands.when_mentioned_or(os.getenv("PREFIX", "!")),
intents=discord.Intents.all(),