1. 06 Jun, 2019 5 commits
  2. 05 Jun, 2019 6 commits
    • kykint authored
    • kykint authored
    • Also separate text recognition code into a function
      kykint authored
    • kykint authored
    • kykint authored
    • Previous way translate() determined its source and target language was inflexible and inconvenient.
      For example a user always had to change target language according to whether he wants to translate
      into other language or his own.
      
      Improve this by assuming that user wants to translate his own language into other language when
      source language matches the user's locale, and the opposite if it doesn't.
      
      Also make some other improvements to logic:
      - translate() now doesn't send a message to user directly, and instead returns a Promise.
      - Also it takes a full user info instead of userId as a parameter, allowing it to detect
        user's locale as well.
      kykint authored
  3. 04 Jun, 2019 3 commits
  4. 03 Jun, 2019 2 commits
  5. 02 Jun, 2019 2 commits
    • Usage: /t [Whatever]
             or /translate [Whatever]
      
      - Translate the 'whatever' and show the result in any kind of chatroom.
        Also, if the given '/t' message is a reply to another message,
        translate the reply target message as well.
      kykint authored
    • kykint authored
  6. 30 May, 2019 7 commits
  7. 29 May, 2019 3 commits
  8. 27 May, 2019 1 commit
    • Fix startup · 15f5dc34
      Server can now be executed with `npm start`.
      kykint authored
  9. 26 May, 2019 3 commits
  10. 16 Dec, 2018 2 commits
  11. 13 Dec, 2018 1 commit
  12. 09 Dec, 2018 1 commit
  13. 08 Dec, 2018 3 commits
  14. 06 Dec, 2018 1 commit