yudai-saito / dine Goto Github PK
View Code? Open in Web Editor NEWDiscordからLINEに、LINEからDiscordにメッセージを送信!あなたのSNSをスマートにまとめます!
License: Apache License 2.0
DiscordからLINEに、LINEからDiscordにメッセージを送信!あなたのSNSをスマートにまとめます!
License: Apache License 2.0
db.py setuser_info の filterをUser.line_id から ServerInfo.line_idに修正
現在の追記型ログで管理し続けると、ログファイルがでかくなりすぎるため対策する。
サーバー選択から、連携解除されたサーバーを選択されると、talk_serverに追加されて送信できてしまう。
サーバー設定から、連携解除されたサーバーの設定をいじると、sqlにエラーが出てしまう。
0.0.0.0, localhostなどがportgresqlと競合しているようで、responderが起動しない
prefix設定時に2文字以上の文字は受け付けないようにする。
・登録してないユーザーへの送信が含まれていた場合
・複数人送信でのline apiの呼び出し回数
後にDiscord側でワンタイムパスワードを登録した際に、line_idとdiscord_idをusersに登録するが、discordへ登録するは複数回使えるので被らないように"存在確認をしてから追加"をすること
passwordテーブルの中身は、5分後に自動的に消えるので削除処理は書かなくてもよい。
sessionをメソッドごとに投げてやらないと整合性保たれないから注意。
#5 を書く前にやったほうが後困らなさそう。
サーバーにBOT追加時にデフォルトでチャンネルを設定するべきか?
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.