From 0d8b1cba7fb861ae6a462509f7e0c66887b88d7e Mon Sep 17 00:00:00 2001 From: maskduck Date: Sat, 25 May 2024 13:28:11 +0700 Subject: [PATCH 1/2] Fix typo in tags_reworked --- _orangcbot/extensions/tags_reworked.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_orangcbot/extensions/tags_reworked.py b/_orangcbot/extensions/tags_reworked.py index 803e57a..2bd7731 100644 --- a/_orangcbot/extensions/tags_reworked.py +++ b/_orangcbot/extensions/tags_reworked.py @@ -58,7 +58,7 @@ async def callback(self, interaction: nextcord.Interaction) -> None: class TagEditView(nextcord.ui.View): - def __init__(self, ctx: comamnds.Context, db: psycopg2.connection, tag: tuple): + def __init__(self, ctx: commands.Context, db: psycopg2.connection, tag: tuple): super().__init__() self._ctx: commands.Context = ctx self._db: psycopg2.connection = db From 16a9814ff2b25b413783ec8b43c1b34ac314b29e Mon Sep 17 00:00:00 2001 From: maskduck Date: Sat, 25 May 2024 13:28:30 +0700 Subject: [PATCH 2/2] same as above --- _orangcbot/extensions/tags_reworked.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_orangcbot/extensions/tags_reworked.py b/_orangcbot/extensions/tags_reworked.py index 2bd7731..267def6 100644 --- a/_orangcbot/extensions/tags_reworked.py +++ b/_orangcbot/extensions/tags_reworked.py @@ -135,7 +135,7 @@ async def callback(self, interaction: nextcord.Interaction) -> None: class TagCreationView(nextcord.ui.View): - def __init__(self, ctx: comamnds.Context, db: psycopg2.connection): + def __init__(self, ctx: commands.Context, db: psycopg2.connection): super().__init__() self._ctx: commands.Context = ctx self._db: psycopg2.connection = db