edit 修改總複習秒數為 1 秒

This commit is contained in:
tangsong 2026-03-03 23:58:43 +08:00
parent 029fee16ea
commit 5734d7387d
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ class Lottery(commands.Cog):
# --- 新增:動畫角色總複習 --- # --- 新增:動畫角色總複習 ---
@app_commands.guilds(discord.Object(id=MY_GUILD_ID)) @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): async def check_all_ani(self, interaction: discord.Interaction):
self.stop = False self.stop = False
await interaction.response.send_message("動畫角色總複習開始,如需停止請輸入 /停止", ephemeral=True) await interaction.response.send_message("動畫角色總複習開始,如需停止請輸入 /停止", ephemeral=True)
@ -179,7 +179,7 @@ class Lottery(commands.Cog):
embed.set_image(url=ani["url"]) embed.set_image(url=ani["url"])
await interaction.followup.send(embed=embed) await interaction.followup.send(embed=embed)
await asyncio.sleep(2) await asyncio.sleep(1)
await interaction.followup.send("複習完畢!") await interaction.followup.send("複習完畢!")