Skip to content

ShawnGeorge03/Translator-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translator-Discord-Bot

This is a simple Discord Translator Bot which used Cloud Translation API from Google Cloud to return translation, detect language of text and others

Available commands

  1. !translate to: "LANGCODE" "TEXT"

    • Translates the TEXT to the given LANGCODE and prints it to the channel
    • Example : !translate to: fr "Hello World
    • Translation: Bonjour le monde
    • Example : !translate to: French "Hello World
    • A language to translate to was not provided!
  2. !langCodes for: "LANGUAGE"

    • Returns the LANGCODE that is used for the given LANGUAGE
    • Example : !langCodes for: English
    • The language code for English is en
    • Example : !langCodes English
    • The 'for:' command was not used!
  3. !detectLang "TEXT"

    • Returns the LANGUAGE for the given TEXT
    • Example : !detectLang "Halló heimur"
    • Icelandic with confidence : 100
    • Example : !detectlang
    • Missing text to be detected!
  4. !help cmd: "COMMAND"

    • Returns a description for how to use the COMMAND if the COMMAND is all prints all supported commands
    • Example : !help cmd: !translate
    • Returns the description for how to use !translate command

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published