Discord Bot สำหรับการแปลแบบข้อความและภาษา
ลองใช้ที่นี่: https://discord.gg/nxrpp8g
config/auth.example ไปที่ config/auth.json และใส่ในปุ่มแอพ Discord ของคุณconfig/google-auth.json ด้วยข้อมูลรับรองของ Googledocker pull faxwang/talkbot:latest จะใช้เวลาสักครู่docker-compose up -d เพื่อเรียกใช้ talkbot ในพื้นหลังdocker-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 talkbotauth.example ในไดเรกทอรี config และเปลี่ยนชื่อไฟล์ใหม่เป็น auth.json แก้ไขไฟล์และวางในปุ่มแอพ Discord ของคุณ npm installnode bot.js หากต้องการอัปเดตเป็นรหัสล่าสุด Run: git pull
พูดคุยกับเราใน Discord
ยืนยันว่าคุณได้ใส่พา ธ ไปยังไฟล์ข้อมูลรับรอง API ของคุณใน Env var google_application_credentials ดู Google Cloud เอกสารที่นี่
ต้องการ shitpost ด้วย?