talkbot
opps
文本到語音和語言翻譯的Discord機器人
在這裡嘗試:https://discord.gg/nxrpp8g
config/auth.example複製到config/auth.json ,然後放入您的Discord應用程序中。config/google-auth.jsondocker pull faxwang/talkbot:latest這將需要一段時間。docker-compose up -d在後台運行TalkBotdocker-compose up以在前景中運行Talkbot!followHello World ,聽到它向您朗讀在GitBook上查看文檔:https://nullabork.gitbook.io/talkbot/
該機器人需要主人來控制它。一旦您是主人,它將在當前語音頻道中將您的文本轉換為語音。機器人也將在語音頻道之間跟隨您。其他用戶只有在允許使用機器人的情況下才能使用它。如果您不使用機器人30分鐘,它將取消關注您。
= Control =
!follow :: The bot will join your voice channel and speak what you write
!unfollow :: Release the bot
!sidle :: Take control of the bot from someone else
!transfer :: Transfer control of the bot to another person
!permit [<user>] :: Permit someone else to use the bot whilst it's following you
!unpermit [<user>] :: Unpermit someone else from using the bot
!tts :: Speak when you're muted
= Personalization =
!defaults :: Reset your default voice settings
!mypitch <pitch> :: Alter the pitch of the bot's voice. Valid values are -20 to 20
!myspeed <speed> :: Alter the speed the bot talks. 1.0 is the default. Valid values are 0.25 to 4.0
!myvoice <voice|alias> :: Change accent or style.
!tolang <lang> :: Translate your text to a different language eg. en, fr, jp, de etc.
!mute :: Mute yourself so your text is not read out
!unmute :: Unmute yourself so all your text is read out
= More =
!help info :: info help commands
!help server :: server help commands用它在自己的服務器上設置自己的機器人。請注意,您將需要一個Google Cloud帳戶來使用其TTS API和Amazon Polly帳戶使用Amazon TTS聲音。這兩種服務都有免費的層次,但如果您超出了他們的免費上限,可能會花費您的錢。這些服務都可以在機器人的配置下打開和關閉。
git clone https://github.com/nullabork/talkbot talkbotconfig目錄中復制auth.example文件,然後將新文件重命名為auth.json編輯文件並粘貼在您的Discord App鍵中。 npm installnode bot.js要更新到最新的代碼運行: git pull
在不和諧方面與我們交談
確認您已將API憑據文件的路徑放在Env var Google_application_credentials中。在此處查看Google Cloud文檔
也想狗屎嗎?