![]() ![]() (Renew 1st day of month).Ĭurrently, you will spend free characters and after spending all of them, you will spend paid characters. By default, any new installation include 10.000 free monthly characters. The system works by prepayment with a certain number of characters. Start the bot by running botscript.py python3 botscript.Kairi is a discord translator bot that can be used to translate any message into more than 30 different languages.Create a config.py and add a discord bot token via a TOKEN variable.Added functionality for a simpler use-case that doesn't require any arguments to be specified.Accounted for the Bot's reply being longer than Discord's character limit (2000).Optional arguments must come before the text argument now.Bot doesn't break if you include quotations (",') or hiphens (-) in the text now.No need to enclose text in quotations anymore.Help text updated to include more information.Fixed the translation function call to be correctly asynchronous.Changing the argument parsing to take on a priority-based conditional check instead of an equivalent iterative loop-based check. ![]() Translation workflow is much faster after:.Your sweater is already spaghetti to celebrate your mother. "There's vomit on his sweater already, mom's spaghetti" but translated 30 times! !translate -n 10 -l de ko hi -t There's vomit on his sweater already, mom's spaghetti "There's vomit on his sweater already, mom's spaghetti" but translated 250 times! !translate -t There's vomit on his sweater already, mom's spaghettiĪ more involved use-case which uses some or all the available arguments, however, requires you to specify the text argument -t: !translate -n 50 -t There's vomit on his sweater already, mom's spaghetti You can also specify the text argument -t here, although it is unnecessary for such a basic use-case. Nikel-spaghete water (water spaghetti nickel) is solved. "There's vomit on his sweater already, mom's spaghetti" but translated 50 times! The simplest use-case is one without any arguments: !translate There's vomit on his sweater already, mom's spaghetti Ro ru sm gd sr st sn sd si sk sl so es su sw sv tg ta te th trĪ more detailed listing which includes the corresponding language names can be found here:Ī detailed listing of the language names and codes can also be found via the googletrans module: import googletrans Km ko ku ky lo la lv lt lb mk mg ms ml mt mi mr mn my ne no or ps fa pl pt pa Tl fi fr fy gl ka de el gu ht ha haw he hi hmn hu is ig id ga it ja jw kn kk Here's a short listing of all the ISO 639-1 language codes available:Īf sq am ar hy az eu be bn bs bg ca ceb ny zh-cn zh-tw co hr cs da nl en eo et NOTE: total number of translations is NUM * LANGS The default values of the optional arguments are NOTE: All optional arguments must come before the TEXT argument (-t) l LANGS, ISO 639-1 codes of the languages to use. n NUM, Number of times to go through the languages. Must be specified with -t if including optional arguments. Usage Translate text repeatedly using Google Translate. Pumped Up Kicks but it's been Google translated. ![]() Gucci Gang but it's been Google translated over 500 times. ![]() This bot uses the bIG BrAiN of Google Translate to figure out the hidden meanings behind ordinary english text. Originally a Python script by SkullTech, made into a Python Discord bot by BKModding Invite on Discord! What is this and how is this useful?! A discord bot that translates a given text repeatedly using Google Translate. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |