issues
search
smngs
/
da-bot
Discord bot for 'da'-server!
1
stars
0
forks
source link
[update] use slash command && divide modules for `./app.py` && add `/help` command
#8
Closed
smngs
closed
1 year ago
smngs
commented
1 year ago
[update] devide
modules
files from app.py
[update] add
/help
command for bot
変更の概要
Bot をスラッシュコマンドで呼び出すように変更
関数を
./modules
ディレクトリに分離
/help
コマンドをたに追加
変更範囲が大きくなっちゃったのは反省
なぜこの変更をするのか
Bot をスラッシュコマンドで呼び出すように変更
「帰宅」などのワードで Bot が誤爆してうざったいから
関数を
./modules
ディレクトリに分離
開発の時ごちゃごちゃで見づらいから
見やすくなったとは言ってない
/help
コマンドを新たに追加
やったこと
./modules
ディレクトリに
./app.py
で定義していた関数たちを分離
やり方がいまいち分かっていない && 適当なので,Code Review してくれるととても嬉しいです……
やってないこと
Module のクラス分け
どうやればいいかわからない
smngs
commented
1 year ago
雑にマージしちゃう.
modules
files from app.py/help
command for bot変更の概要
./modules
ディレクトリに分離/help
コマンドをたに追加なぜこの変更をするのか
./modules
ディレクトリに分離見やすくなったとは言ってない/help
コマンドを新たに追加やったこと
./modules
ディレクトリに./app.py
で定義していた関数たちを分離やってないこと