This commit is contained in:
Nexus 2023-11-11 18:33:32 +00:00
parent 395a9a9581
commit b616554fa0
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -1809,7 +1809,6 @@ class OtherCog(commands.Cog):
% (content, output_location.name)
)
class OllamaKillSwitchView(discord.ui.View):
def __init__(self, ctx: commands.Context, msg: discord.Message):
super().__init__(timeout=None)
@ -1822,7 +1821,7 @@ class OtherCog(commands.Cog):
@discord.ui.button(
label="Abort",
style=discord.ButtonStyle.red,
emoji="\N{waste basket}",
emoji="\N{wastebasket}",
)
async def abort_button(self, _, interaction: discord.Interaction):
await interaction.response.defer()