Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: disnake 2.8 #188

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def __init__(self) -> None:
intents = Intents.default()
intents.members = True
intents.presences = True
intents.message_content = True

self.http_session = ClientSession()
self.db_pool: asyncpg.Pool = asyncpg.create_pool(constants.DATABASE_URL)
Expand Down
2 changes: 1 addition & 1 deletion bot/exts/github/_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async def get_github_info(self, username: str) -> Embed:
embed = disnake.Embed(
title=choice(ERROR_REPLIES),
description=f"The profile for `{username}` was not found.",
url=Embed.Empty,
url=None,
colour=disnake.Colour.red(),
)
return embed
Expand Down
Loading