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