Mohammed Foud commited on
Commit
92de5d3
·
1 Parent(s): 8511ad1
Files changed (3) hide show
  1. d.sh +2 -0
  2. src/bots/handlers/balanceHandlers.ts +1 -1
  3. src/index.ts +1 -1
d.sh CHANGED
@@ -2,3 +2,5 @@ git add .
2
  git commit -m "allh"
3
  git push
4
 
 
 
 
2
  git commit -m "allh"
3
  git push
4
 
5
+
6
+ # curl -X POST https://mfoud444-bot-me.hf.space/bots/telegraf/start-specific -H "Content-Type: application/json" -d '{"botId": "049a92c4-7654-43f6-8e6f-7ff5cce78995"}'
src/bots/handlers/balanceHandlers.ts CHANGED
@@ -173,7 +173,7 @@ export const handleTopUpAmount = async (ctx: BotContext, amount: number) => {
173
  ...Markup.inlineKeyboard([
174
  [Markup.button.callback(messageManager.getMessage('btn_back_to_main'), 'main_menu')]
175
  ]),
176
- parse_mode: 'HTML'
177
  }
178
  };
179
  } catch (error) {
 
173
  ...Markup.inlineKeyboard([
174
  [Markup.button.callback(messageManager.getMessage('btn_back_to_main'), 'main_menu')]
175
  ]),
176
+ parse_mode: 'MarkdownV2'
177
  }
178
  };
179
  } catch (error) {
src/index.ts CHANGED
@@ -31,4 +31,4 @@ async function startServer() {
31
  }
32
 
33
  startServer();
34
- handleAddTelegrafBot("049a92c4-7654-43f6-8e6f-7ff5cce78995")
 
31
  }
32
 
33
  startServer();
34
+ // handleAddTelegrafBot("049a92c4-7654-43f6-8e6f-7ff5cce78995")