Basic Config

Here is how to get the bot started!

Note this will only include how to enable and update features, all info and disable commands will be in the Detailed Information section

Adding FanYi

FanYi is a discord bot, so to use it you'll need a discord server and invite the bot with this link

You can also click on FanYi's profile and click on the Add to server Button

Config Channel to Channels

Good to know: /command <required variable> <optional variable>

Good to know: The Input channel will be referred to as From Channel. The Output channels(not its multiple channels) will be referred to as Tunnels. Channel to Channels translation is the process of taking messages from the From Channel and translating messages into the languages you choose for multiple other channels. Now how to do this? What are the parameters?

/set_tunnel <from_channel> <to_channel> <lang_to> <style> <lang_from>

  • from_channel: where the bot will get the messages

  • to_channel: where the bot will send the translated messages

  • lang_to: the language for this tunnel, you can have multiple times with different languages. Click here for more

  • style: the style the bot will output in, has two styles. Webhook and Embed. Click here for more

  • lang_from: Optional, if not set the bot will translate all messages not lang_to else it will only translate the messages in lang_from. Click here for more

For example, if you want to translate messages from #Chinese to #English with the style Embed Without lang_from set it will translate all messages that aren't in English

Languages

Language codes can be found by using the Language command /Languages

Languages and Language code
af : Afrikaans
am : Amharic
ar : Arabicam
as : Assamese
az : Azerbaijani
ba : Bashkir
bg : Bulgarian
bn : Bangla
bo : Tibetan
bs : Bosnian
ca : Catalan
cs : Czech
cy : Welsh
da : Danish
de : German
dv : Divehi
el : Greek
en : English
es : Spanish
et : Estonian
eu : Basque
fa : Persian
fi : Finnish
fil : Filipino
fj : Fijian
fo : Faroese
fr : French
ga : Irish
gl : Galician
gu : Gujarati
he : Hebrew
hi : Hindi
hr : Croatian
ht : Haitian Creole
hu : Hungarian
hy : Armenian
id : Indonesian
is : Icelandic
it : Italian
iu : Inuktitut
ja : Japanese
ka : Georgian
kk : Kazakh
km : Khmer
kn : Kannada
ko : Korean
ku : Kurdish (Central)
ky : Kyrgyz
lo : Lao
lt : Lithuanian
lv : Latvian
mg : Malagasy
mi : Māori
mk : Macedonian
ml : Malayalam
mn-cyrl : Mongolian (Cyrillic)
mr : Marathi
ms : Malay
mt : Maltese
my : Myanmar (Burmese)
nb : Norwegian
ne : Nepali
nl : Dutch
or : Odia
pa : Punjabi
pl : Polish
ps : Pashto
pt : Portuguese (Brazil)
ro : Romanian
ru : Russian
sk : Slovak
sl : Slovenian
sm : Samoan
so : Somali
sq : Albanian
sr-cyrl : Serbian (Cyrillic)
sv : Swedish
sw : Swahili
ta : Tamil
te : Telugu
th : Thai
ti : Tigrinya
tk : Turkmen
to : Tongan
tr : Turkish
tt : Tatar
ty : Tahitian
ug : Uyghur
uk : Ukrainian
ur : Urdu
uz : Uzbek (Latin)
vi : Vietnamese
zh-hans : Chinese Simplified
zu : Zulu

Last updated