From 5734d7387d71bfba1a7a7b6a77bf8d55315a7722 Mon Sep 17 00:00:00 2001 From: tangsong Date: Tue, 3 Mar 2026 23:58:43 +0800 Subject: [PATCH] =?UTF-8?q?edit=20=E4=BF=AE=E6=94=B9=E7=B8=BD=E8=A4=87?= =?UTF-8?q?=E7=BF=92=E7=A7=92=E6=95=B8=E7=82=BA=201=20=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cogs/lottery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/lottery.py b/cogs/lottery.py index 4066916..c1f0e23 100644 --- a/cogs/lottery.py +++ b/cogs/lottery.py @@ -159,7 +159,7 @@ class Lottery(commands.Cog): # --- 新增:動畫角色總複習 --- @app_commands.guilds(discord.Object(id=MY_GUILD_ID)) - @app_commands.command(name="動畫角色總複習", description="每 2 秒顯示一位動畫角色,直到結束") + @app_commands.command(name="動畫角色總複習", description="每 1 秒顯示一位動畫角色,直到結束") async def check_all_ani(self, interaction: discord.Interaction): self.stop = False await interaction.response.send_message("動畫角色總複習開始,如需停止請輸入 /停止", ephemeral=True) @@ -179,7 +179,7 @@ class Lottery(commands.Cog): embed.set_image(url=ani["url"]) await interaction.followup.send(embed=embed) - await asyncio.sleep(2) + await asyncio.sleep(1) await interaction.followup.send("複習完畢!")