adam-baker / adam-baker/bork-bot

bot command: simple command generator

未關閉
#13 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Python
星號
3
分支
0
PR 合併指標
30 天內沒有已合併 PR

描述

write a cog that will allow for a user to input simple commands directly into the bot.

ex. .addcmd barking-snake
this command would add the command .barking-snake to the bot, when it's run - it shows the given img.

several ways to do this, can be data driven - create a small database that holds command name, command function, and on/off. then use some generic bot logic to catch commands on_message and preform actions when commands are caught.

another option would be to have code _write_ the code using scaffolding - but this might be a bit cumbersome and bloat the codebase.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

No file, test, or entry point is named. First determine how the bot currently receives commands and decide between the proposed database-driven approach and code scaffolding. Done means a user can add a simple command such as `.barking-snake` with an image and invoke it successfully.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
backend
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。