(datas)
| 529 | # Ask Doubt on telegram @KingVJ01 |
| 530 | |
| 531 | def extract_btn(datas): |
| 532 | i = 0 |
| 533 | btn = [] |
| 534 | if datas: |
| 535 | for data in datas: |
| 536 | if i >= 3: |
| 537 | i = 0 |
| 538 | if i == 0: |
| 539 | btn.append([InlineKeyboardButton(data, f'settings#alert_{data}')]) |
| 540 | i += 1 |
| 541 | continue |
| 542 | elif i > 0: |
| 543 | btn[-1].append(InlineKeyboardButton(data, f'settings#alert_{data}')) |
| 544 | i += 1 |
| 545 | return btn |
| 546 | |
| 547 | # Don't Remove Credit Tg - @VJ_Botz |
| 548 | # Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ |
nothing calls this directly
no outgoing calls
no test coverage detected