Compare commits
2 Commits
5257967f88
...
05e441f6a1
Author | SHA1 | Date | |
---|---|---|---|
05e441f6a1 | |||
368f297c6b |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ussd-tg-proxy",
|
||||
"version": "0.2.2",
|
||||
"version": "0.2.3",
|
||||
"description": "ussd-tg-proxy",
|
||||
"main": "src/index.js",
|
||||
"repository": "https://git.grassecon.net/grassrootseconomics/ussd-tg-proxy.git",
|
||||
|
@ -1,5 +1,5 @@
|
||||
// this regex extracts ussd reply options
|
||||
const regex = /\s(\d{1,2}).\s/g;
|
||||
const regex = /\s(\d{1,2})\.\s/g;
|
||||
|
||||
// TODO: converts the text to a telegram keyboard
|
||||
function createKeyboard(input) {
|
||||
|
Loading…
Reference in New Issue
Block a user