mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
ugh
This commit is contained in:
parent
395a9a9581
commit
b616554fa0
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue