From b6a3a63633e045c2b8cd6c205abf9b7ed56eb960 Mon Sep 17 00:00:00 2001 From: Bradley Reynolds Date: Sat, 6 May 2023 09:21:27 -0500 Subject: [PATCH] fix borked import (#67) Signed-off-by: Bradley Reynolds --- docs/source/changelog.rst | 3 +++ pyproject.toml | 2 +- src/bot/exts/dragonfly/dragonfly.py | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index ae3d030..ec63071 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -4,6 +4,9 @@ Changelog ========= +- :release:`2.3.1 <6th May 2023>` +- :bug:`66` Fix invalid import breaking email reporting + - :release:`2.3.0 <5th May 2023>` - :feature:`18` Log auto-reports diff --git a/pyproject.toml b/pyproject.toml index 3d3b352..02393b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "alessia" -version = "2.3.0" +version = "2.3.1" dependencies = [ "python-dotenv==1.0.0", "discord.py==2.2.2", diff --git a/src/bot/exts/dragonfly/dragonfly.py b/src/bot/exts/dragonfly/dragonfly.py index d3b9f56..ee0093e 100644 --- a/src/bot/exts/dragonfly/dragonfly.py +++ b/src/bot/exts/dragonfly/dragonfly.py @@ -81,7 +81,7 @@ async def on_submit(self, interaction: discord.Interaction): ) log_channel = interaction.client.get_channel(DragonflyConfig.logs_channel_id) - if isinstance(log_channel, discord.abc.MessageableChannel): + if isinstance(log_channel, discord.abc.Messageable): await log_channel.send( f"User {interaction.user.mention} " f"reported package `{self.package.name}` "