diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-07-03 20:49:48 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2026-07-03 20:49:48 +0300 |
| commit | 70339834fe90513e80c6f060626a32de352e6f14 (patch) | |
| tree | a06b103a3637251b637fed16cea518f01231cc12 /operators | |
| parent | 387a361439eb0714c14011d7b04f4aa18fa23fdc (diff) | |
*/*: Bring back old board_table
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
Diffstat (limited to 'operators')
| -rw-r--r-- | operators/command_hash.zsh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/operators/command_hash.zsh b/operators/command_hash.zsh index 530fee7..3ced3c9 100644 --- a/operators/command_hash.zsh +++ b/operators/command_hash.zsh @@ -28,21 +28,21 @@ do done done -for ib_board in ${board_table[@]} +while [[ ${#board_table} -ge 2 ]] do - source "${units}/ib_config.zsh" source "${units}/ib_hash.zsh" & wait if ! [[ -f "${ib_post}" ]] then + shift 2 board_table continue fi ib_id="$(< "${ib_post}")" - keyboard_text1="${ib_name}" - keyboard_query1="post ${ib_board} ${ib_id}" + keyboard_text1="${board_table[2]}" + keyboard_query1="post ${board_table[1]} ${ib_id}" reply_markup="$( jq --compact-output \ @@ -54,6 +54,7 @@ do )" keyboard_offset=$((keyboard_offset + 0.5)) + shift 2 board_table done if [[ -f "${ib_sample}" ]] |
