Skip to content

Discord bot that translates English to Emojis, Lea Michele style

Notifications You must be signed in to change notification settings

brookeknowles/LeaMicheleBot

Repository files navigation

LeaMicheleBot

Fun little Discord bot that translates users messages from plain English into emojis, Lea Michele instagram style*

Set Up on local machine

Discord related set up

  1. Head over to the Discord Developer Portal
  2. Create a new application - RealPython has a good tutorial on this
  3. Once you have created the application, note the token provided

Application set up

  1. Clone this repository
git clone https://github.com/brookeknowles/LeaMicheleBot.git
  1. Open up the repository in your favourite IDE
  2. Install the project dependencies:
pip3 install -r requirements.txt
  1. Create a .env file with your token from the earlier step, the only line in the file should be:
TOKEN={your-bot-token}
  1. Run the app:
python3 main.py

Using The Bot

Command Example
!translateWord lets the user translate a sentence, word by word Screenshot
!addWord allows the user to add translations to words the bot does not know yet Screenshot
!updateWord allows the user to update the existing translation of a word to a different emoji Screenshot
!translatePhrase works similarly to the !translateWord command, but instead of translating the message word by word, the bot will translate the whole message as one phrase Screenshot
!addPhrase allows the user to add translations for phrases the bot does not know yet Screenshot
!updatePhrase allows the user to update the existing translation of a phrase to different emojis Screenshot
Custom emojis from Discord Nitro can also be used as translations Screenshot

Extra

*There is a hilarious (but totally fake) online conspiracy theory that Lea Michele, the actress and singer best known for her work on Glee, is illiterate and can only understand emoji's. This website has a good rundown if you're interested

About

Discord bot that translates English to Emojis, Lea Michele style

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published