1. 05 Jun, 2019 4 commits
    • 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
  2. 04 Jun, 2019 3 commits
  3. 03 Jun, 2019 1 commit
  4. 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
  5. 30 May, 2019 7 commits
  6. 29 May, 2019 3 commits
  7. 27 May, 2019 1 commit
    • Fix startup · 15f5dc34
      Server can now be executed with `npm start`.
      kykint authored
  8. 26 May, 2019 3 commits
  9. 16 Dec, 2018 2 commits
  10. 13 Dec, 2018 1 commit
  11. 09 Dec, 2018 1 commit
  12. 08 Dec, 2018 3 commits
  13. 06 Dec, 2018 8 commits
  14. 04 Dec, 2018 1 commit