Skip to content

Custom Google Translate Discord Bot using the Google Translate API

License

Notifications You must be signed in to change notification settings

winniiew/GoogleTranslateBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Google Translate Bot for Discord 🗣

This is a custom Google Translate Discord bot using the googletrans API library

Install Directly on Local Computer

  • Create a Bot account and invite the Bot to a Discord server

  • Add translate_discord.py and keep_alive.py to a new repository on Replit

  • Replace TOKEN with the Discord Bot token

Replit

Run the following in the bash shell:

pip install discord

pip install translate==3.1.0

pip install Flask

  • Then run main.py, this should generate a URL https://googletranslatebot.winniiew.repl.co/ that can then be used in UptimeRobot to host the Discord bot.

help2

Uptime Robot

  1. Click + Add New Monitor
  2. Select HTTP(s) under Monitor Types
  3. Paste the generated URL
  4. Change the monitoring interval to 5 minutes

help

Invite Bot to join server

https://discord.com/api/oauth2/authorize?client_id=983219732712931339&permissions=257698506816&scope=bot

Commands

The list of available languages within the googletrans library

!t zh-tw hello

hello -> 你好 
!t en こんにちは
  
こんにちは -> hello

About

Custom Google Translate Discord Bot using the Google Translate API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages