lutfenbot Help

/lang

The /lang command group allows you to use tools like translation, dictionary, and transliteration.

/lang translate

The /lang translate command translates text from one language to another.

Parameters

text

the text to translate

target

default: the user's language set using /custom language, or the language of their Discord client if unset

the language you want the result in

source

default: auto

the language text is written in

backend

default: Google

the service backend to use

Supported backends:

  • DeepL

  • Google

  • Reverso

  • Translate.com

  • Yandex

/lang transliterate

The /lang transliterate command transliterates text from one script to another.

Parameters

text

the text to transliterate

target

default: the user's language set using /custom language, or the language of their Discord client if unset

the language you want the result in

source

default: auto

the language text is written in

backend

default: Google

the service backend to use

Supported backends:

  • Google

  • Yandex

/lang spellcheck

The /lang spellcheck command checks the spelling of a given text and returns a list of suggestions for misspelled words.

Parameters

text

the text to spellcheck

language

default: auto

the language text is written in

backend

default: Yandex

the service backend to use

Supported backends:

  • Reverso

  • Yandex

/lang detect-language

The /lang detect-language command detects the language of a given text.

Parameters

text

the text to detect the language of

backend

default: Google

the service backend to use

Supported backends:

  • DeepL

  • Google

  • Reverso

  • Translate.com

  • Yandex

/lang example

The /lang example command provides an example sentence for a given word.

Parameters

text

the text to get an example for

target

default: the user's language set using /custom language, or the language of their Discord client if unset

the language you want the result in

source

default: auto

the language text is written in

backend

default: Reverso

the service backend to use

Supported backends:

  • Reverso

  • Yandex

/lang dictionary

The /lang dictionary command provides the definition of a given word.

Parameters

text

the text to get the definition for

target

default: the user's language set using /custom language, or the language of their Discord client if unset

the language you want the result in

source

default: auto

the language text is written in

backend

default: Reverso

the service backend to use

Supported backends:

  • DeepL

  • Reverso

  • Yandex

/lang text-to-speech

The /lang text-to-speech command converts text to speech in the specified language. The .mp3 file returned from the service will be attached in the response message.

Parameters

text

the text to convert to speech

source

default: auto

the language text is written in

backend

default: Google

the service backend to use

Supported backends:

  • Google

  • Reverso

/lang list-service-features

The /lang list-service-features command lists the currently available service backends and the features that they support.

Last modified: 06 November 2024