- 05 Jun, 2019 2 commits
-
-
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
-
- 04 Jun, 2019 3 commits
- 03 Jun, 2019 1 commit
-
-
WIP. Needs a way to save user's choice. Usage: /l or /language - Let user select the language he wants his message to translate to. When triggered, bot will send an inline keyboard message with a list of available langauges. For an example of an inline keyboard message, see https://core.telegram.org/bots#inline-keyboards-and-on-the-fly-updating.
kykint authored
-
- 02 Jun, 2019 2 commits
- 30 May, 2019 7 commits
- 29 May, 2019 3 commits
- 27 May, 2019 1 commit
- 26 May, 2019 3 commits
- 16 Dec, 2018 2 commits
- 13 Dec, 2018 1 commit
-
-
김형석 authored
-
- 09 Dec, 2018 1 commit
-
-
강수인 authored
-
- 08 Dec, 2018 3 commits
- 06 Dec, 2018 8 commits
- 04 Dec, 2018 2 commits
- 01 Dec, 2018 1 commit
-
-
김형석 authored
-