Skip to main content

ODSlashCommandUniversalTranslation interface

under construction

We are still working the API Reference! This page might be incomplete or doesn't contain all details!

Overview

A universal template for a slash command translation. (used in names & descriptions)

Why universal? Both existing slash commands & unregistered templates can be converted to this type.

View Source

References

    Properties


    language type "id"|"en-US"|"en-GB"|"bg"|"zh-CN"|"zh-TW"|"hr"|"cs"|"da"|"nl"|"fi"|"fr"|"de"|"el"|"hi"|"hu"|"it"|"ja"|"ko"|"lt"|"no"|"pl"|"pt-BR"|"ro"|"ru"|"es-ES"|"es-419"|"sv-SE"|"th"|"tr"|"uk"|"vi"

    The language code or locale of this language.

    View Source


    value string string

    The translation of the name in this language.

    View Source