chipsnet / damare Goto Github PK
View Code? Open in Web Editor NEWDamareはDiscordで使える読み上げBotです。
Home Page: https://damare.m86.work
License: Mozilla Public License 2.0
DamareはDiscordで使える読み上げBotです。
Home Page: https://damare.m86.work
License: Mozilla Public License 2.0
最初に実行したフォルダになる
注意
とりあえず辞書機能やらがある程度固まったら実装したい
あったら多分バグる
音声系はv13でサポートされなくなったぽい
https://scrapbox.io/discordjs-japan/@discordjs%2Fvoice
切断/再接続までやらせないと意味ない気がしてきたな
コントリビュートしにくくなると思うので取り消しで
ex: https://web.archive.org/web/2/https://www.google.com/
🔈 https://www.google.com
日本語URLが含まれているときも日本語が読まれる
かなりアプデで変わっちゃったので治す
#36 とかも多分これの影響
D:\Repository\MyRepository\damare\node_modules\discord.js\src\client\voice\VoiceConnection.js:303
this.emit('error', new Error(reason));
^
Error [VOICE_CONNECTION_TIMEOUT]: Connection not established within 15 seconds.
at VoiceConnection.authenticateFailed (D:\Repository\MyRepository\damare\node_modules\discord.js\src\client\voice\VoiceConnection.js:303:26)
at D:\Repository\MyRepository\damare\node_modules\discord.js\src\client\voice\VoiceConnection.js:324:61
at Timeout.<anonymous> (D:\Repository\MyRepository\damare\node_modules\discord.js\src\client\BaseClient.js:83:7)
at listOnTimeout (node:internal/timers:557:17)
at processTimers (node:internal/timers:500:7) {
[Symbol(code)]: 'VOICE_CONNECTION_TIMEOUT'
}
勝手にreconnectしてほしい
合成音声生成ツールを複数選択できるといいかも
これはSoftalkの実行の最後に /close をつければ解決
masterで作業してる
次のバージョン公開はサイトが完成してからがいい
Unhandled Exception: Microsoft.VisualBasic.ApplicationServices.CantStartSingleInstanceException: This single-instance application could not connect to the original instance.
Win Sandbox環境でだけ確認、なにこれ
/damare/node_modules/discord.js/src/client/actions/MessageCreate.js:11
at Receiver.dataMessage (/damare/node_modules/ws/lib/receiver.js:517:14)
const existing = channel.messages.cache.get(data.id);
at Receiver.emit (node:events:520:28)
at Receiver.receiverOnMessage (/damare/node_modules/ws/lib/websocket.js:970:20)
^
TypeError: Cannot read properties of undefined (reading 'cache')
at MessageCreateAction.handle (/damare/node_modules/discord.js/src/client/actions/MessageCreate.js:11:41)
at Object.module.exports [as MESSAGE_CREATE] (/damare/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
at WebSocket.emit (node:events:520:28)
at WebSocket.onMessage (/damare/node_modules/ws/lib/event-target.js:132:16)
at WebSocketShard.onPacket (/damare/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
at WebSocketShard.onMessage (/damare/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
at WebSocketManager.handlePacket (/damare/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
再生にBroadcastを使うとなんか途切れたりしてうまくいかないので、使わない実装に変える
yarn setupとか
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
Dockerfile
package.json
@discordjs/opus ^0.5.3
axios ^0.25.0
bunyan ^1.8.15
chokidar ^3.5.2
discord.js ^12.5.3
encoding-japanese ^1.0.30
ffmpeg-static ^4.4.0
iconv-lite ^0.6.3
js-yaml ^4.1.0
nodemon ^2.0.15
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.