Spaces:
Paused
Paused
add
Browse files- bot_main.py +2 -2
bot_main.py
CHANGED
|
@@ -197,9 +197,9 @@ async def join(ctx, topic="樂團"):
|
|
| 197 |
# 檢查頻道名稱是否是 "一般" 或 "general"
|
| 198 |
if ctx.channel.name in ["一般", "general"]:
|
| 199 |
# 如果頻道是 "一般" 或 "general",延遲 1000 秒刪除訊息
|
| 200 |
-
await ctx.send(f'
|
| 201 |
else:
|
| 202 |
-
await ctx.send(f'
|
| 203 |
|
| 204 |
|
| 205 |
|
|
|
|
| 197 |
# 檢查頻道名稱是否是 "一般" 或 "general"
|
| 198 |
if ctx.channel.name in ["一般", "general"]:
|
| 199 |
# 如果頻道是 "一般" 或 "general",延遲 1000 秒刪除訊息
|
| 200 |
+
await ctx.send(f'- 主題:||{topic}||\n## {messege}', delete_after=1000)
|
| 201 |
else:
|
| 202 |
+
await ctx.send(f'- 主題:||{topic}||\n## {messege}')
|
| 203 |
|
| 204 |
|
| 205 |
|