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文档
也想狗屎吗?