Toggle navigation
Toggle navigation
This project
Loading...
Sign in
kykint
/
TELEGRAMBOT
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
kykint
2019-06-05 02:35:32 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
28583fd4a098b4f29e40bd443c911458857c1412
28583fd4
1 parent
07b7dc5f
Fix Chinese detection, sort out unsupported langs
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
app.js
app.js
View file @
28583fd
...
...
@@ -178,26 +178,17 @@ bot.onText(/^\/(l|anguage)/, (msg, match) => {
{
text
:
'일본어'
,
callback_data
:
'ja'
}
],
[
{
text
:
'중국어 간체'
,
callback_data
:
'zh-cn'
},
{
text
:
'중국어 번체'
,
callback_data
:
'zh-tw'
}
],
[
{
text
:
'힌디어'
,
callback_data
:
'hi'
},
{
text
:
'스페인어'
,
callback_data
:
'es'
},
{
text
:
'프랑스어'
,
callback_data
:
'fr'
}
{
text
:
'중국어 간체'
,
callback_data
:
'zh-CN'
},
{
text
:
'중국어 번체'
,
callback_data
:
'zh-TW'
},
{
text
:
'스페인어'
,
callback_data
:
'es'
}
],
[
{
text
:
'프랑스어'
,
callback_data
:
'fr'
},
{
text
:
'독일어'
,
callback_data
:
'de'
},
{
text
:
'포루트갈어'
,
callback_data
:
'pt'
},
{
text
:
'베트남어'
,
callback_data
:
'vi'
}
],
[
{
text
:
'인도네시아어'
,
callback_data
:
'id'
},
{
text
:
'페르시아어'
,
callback_data
:
'fa'
}
],
[
{
text
:
'아랍어'
,
callback_data
:
'ar'
},
{
text
:
'미얀마어'
,
callback_data
:
'mm'
},
{
text
:
'태국어'
,
callback_data
:
'th'
}
],
[
...
...
Please
register
or
login
to post a comment