空房間移除下限修改至0

This commit is contained in:
Sahik committed 2026-11-04 14:23:32 +08:00
1 parent d0ed93162f
commit 964d16303f
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -50,14 +50,14 @@ class Settings(commands.GroupCog, group_name="設定", group_description="機器
@app_commands.describe(
觸發頻道="進入這個語音頻道就會建立包廂",
包廂名稱="新包廂的名稱",
空房秒數="包廂沒人超過幾秒就刪除",
空房秒數="包廂沒人超過幾秒就刪除,0 為立即刪除",
)
async def rooms(
self,
interaction: discord.Interaction,
觸發頻道: Optional[discord.VoiceChannel] = None,
包廂名稱: Optional[app_commands.Range[str, 1, 100]] = None,
空房秒數: Optional[app_commands.Range[int, 5, 86400]] = None,
空房秒數: Optional[app_commands.Range[int, 0, 86400]] = None,
):
await apply(
interaction,