Feature request: "reload" feature for reloading commands.yaml file without restarting bot
未關閉
enhancement
good first issue
help wanted
- 主要語言
- Shell
- 星號
- 101
- 分支
- 17
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Another idea: a "reload" feature. Entering the command reload into the bot, the bot re-reads the commands.yaml file and thereby adds or drops new commands without the need to restart the bot process. Live-update of commands so-to-speak.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
尋找 bot 的主要進入點,以及載入 commands.yaml 的程式碼。此功能需要新增一個 'reload' 命令,用來觸發重新讀取 YAML 檔案並更新 bot 的命令註冊表。檢查是否有命令處理模組,並查看目前如何註冊命令。修改 commands.yaml 並向 bot 傳送 reload 命令進行測試。
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100