konafx / piyodore-discord-bot Goto Github PK
View Code? Open in Web Editor NEWdiscord bot
discord bot
command/.ts の構成だと、commandごとに設定したbuttonをcommand/.tsで取り扱いたい
buttonを押すと、interaction.message.interaction.commandName
からサブコマンドが込みの値が取得される(例:/user create
->"user create"
)
commandで設定したbuttonを押して得たメッセージについてくるbutton(つまり、ツリーの孫メッセージ)からはもはやcommandNameはない。(interaction.message.interation
がnull)
customIdのパースをうまくやらないとダメっぽい。jsonにしてやるか?
前の回答はうっすら残しておいて(参照可能なだけ)、次回回答時などに見れるる嬉しいかも
convertional commits との兼ね合い, huskyでの実現が分からない。いつかやる
あわせて konafx/dotfiles のneovimあたりの設定で補完できるようにしたい。cliでやるのが一番まるい
ja | en | ref |
---|---|---|
仮イベント | tentative event | (仮)は英語でなんと言う? 英文資料や企画書・提案書の草案作成に便利な表現 | 翻訳の代行・見積なら スピード翻訳 |
候補日 | prospective date | 打ち合わせ候補日時って英語でなんて言うの? - DMM英会話なんてuKnow? |
できれば、仮イベント作成のメッセージも更新できると嬉しいよね
物理削除か論理削除かは未検討
自分なりに考えた構造で、Botを実装する。
Feature
: スケジュール調整機能
User Story
: 仮イベントを作るUser Story
: 仮イベントと一緒に候補日を作るUser Story
: 参加可能かを記入するUser Story
: 回答状況を随時更新していく
User Story
: 候補日から予定日時を確定すると Discordのイベントが作られるUser Story
: 仮イベント、候補日、回答を1単位でアーカイブする(非削除)User Story
: 仮イベントの内容を修正するUser Story
: 仮イベントを削除するUser Story
: 仮イベントの候補日を修正する。修正された候補日への回答はリセットするUser Story
: 回答を修正する
User Story
: 回答を削除する
仮イベントとそれに付随する候補日、回答を一括でアーカイブするイメージ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.