
Do remember that you will need to perform these steps for each server you own or moderate.ī takes an interesting philosophical position on the bot world. For this example, we’ll use Dyno, but the instructions may vary if you’re adding another Bot. It’s important to note that depending on your Bots’ source website, you may see Invite or Add Bots.
SET UP DISCORD TRANSLATE BOT FREE
This service can be used with the free tier of the Azure translator in the global region. DiscordToken - this is the bot token modix-translator should use to connect to the Discord API.AzureTranslationKey - This is the key for the azure translator service.For example, BOT_DiscordToken, BOT_AzureTranslationKey, etc.

If you prefer to use environment variables for configuration, they must all be prefixed with BOT_. Additionally, the hosting environment can be set with an environment variable. This project leverages UserSecrets to provide a bot token and api key to the project. If you're on Windows, make sure you switch to Linux containers. You do not need Docker if you're just developing locally - it's mostly just to test if your changes are significant enough that they might break CI, or if you prefer to keep your dev environment clean. NET 5 SDK for your chosen platform (currently 7) You can then add the bot to your server by going to, replacing with the Client ID of your bot (not the token). A Discord application set up - go here to create one, add a bot to it, and copy the token from the page.To work on modix-translator, you need a few things: Development is straight forward requiring only the latest preview of.
SET UP DISCORD TRANSLATE BOT HOW TO
Getting Startedīelow is a guide on how to start developing modix-translator. Setting that might be only available if the server is partnered. The base language, English in these examples, will be picked by the locale of the discord guild. Where is one of the language codes listed in the translator api docs These channels will be deleted automatically after 4 hours of inactivity (see )įor archival purposes the translations will be posted into a #History channel, too. Messages that are typed into #de-to-en in german are then translated (to english, in this case) and posted into the paired channel #en-to-de Commands: The bot can translate single phrases into a given language, it can also create pairs of channels that are getting translated automatically to allow fluent conversations.įor example, if you enter the command ?translate create de, two channels will be created: #de-to-en and #en-to-de. modix-translator leverages Azure Cognitive Services translator api in order to provide a more natural translation. Modix-translator aims to help break down the language barrier experienced when conversing with server members from all over the world. Modix-translator - A translation bot for discord
