![]() Text containing any non-ASCII text (excluding emojis) is treated as Japanese.Feature ideas are also welcome in the issues tab! Known Issues ![]() If you'd like to contribute, you're welcome to fork the repository and create a pull request for a new feature implementation. These are on my long-term to-do list for the bot, but will likely require significant refactoring to set up, so I'm not sure when they'll be available. There are many additional features I'd like to add, such as private translation via slash commands (to further reduce chat clutter) and pronunciation lookup (using Forvo's API). Additionally, users can reply to any message with "!translate" to have the entire message translated. As of now, users can translate Japanese or English phrases by entering: "!translate " into the Discord chat. The bot is currently capable of Japanese to English translation, and English to Japanese translation (in most cases - see wiki for details). After that, you should be able to run the bot and change it as needed!įeel free to reach out to me (Mitchell) on Discord if you have any questions. To adapt the bot to your own use case (different languages, translation tools, slash commands, etc.), fork the repository and create your own DEEPL_API_KEY, DISCORD_BOT_SECRET, and DISCORD_BOT_AUTHOR_ID environment variables. To use the bot for Japanese-English translation, you can add my deployment called "KomiBot" to your Discord server by clicking here. See wiki for details & additional feature plans/ideas. This functionality allows users to quickly look up words they don't know how to say in Japanese, translate words they don't understand into English, or translate entire phrases between the two languages - all without having to switch back & forth between a dictionary website and Discord. (The abbreviation "!tl" can also be used, in place of "!translate".) Users can enter "!translate " into the Discord chat to have their text translated, or reply to a message with "!translate" to have the message they replied to translated. This bot translates Discord chat messages from Japanese to English (and vice versa). You can usually read about the bot’s features and commands in the bot instructions or using the command “.help”.Discord Bot with Translation FunctionalityĬreated using the Discord.py python library for Discord chat integration, and DeepL's translation API. Step 5: The bot will then appear as a user in your channel. Step 4: At this point, a window should open where you can choose the server that you want to add the Discord bot to. Step 3: Enter the login information for your Discord account. Step 2: Click on “ Invite” on the bot page to invite the Discord bot to your Discord server. For example, if you know that you want to download the music bot Hydra, you can go directly to the website “hydra.bot”. Alternatively, you can go directly to the website of your chosen Discord bot. Once you’ve chosen a bot, you’ll be redirected to the bot website. Step 1: Go to a Bot list website such as “top.gg”. To use a pre-programmed Discord bot, take the following steps: You can find a wide variety of bots with either broad or specialized functions on websites like “top.gg”. If you’re not a skilled programmer, your best bet is to use one of the numerous pre-programmed bots out there.
0 Comments
Leave a Reply. |