MCPcopy Create free account
hub / github.com/VJBots/VJ-Forward-Bot / size_button

Function size_button

plugins/settings.py:590–623  ·  view source on GitHub ↗
(size)

Source from the content-addressed store, hash-verified

588# Ask Doubt on telegram @KingVJ01
589
590def size_button(size):
591 buttons = [[
592 InlineKeyboardButton('💾 Min Size Limit',
593 callback_data=f'noth')
594 ],[
595 InlineKeyboardButton('+1',
596 callback_data=f'settings#update_size-{size + 1}'),
597 InlineKeyboardButton('-1',
598 callback_data=f'settings#update_size_-{size - 1}')
599 ],[
600 InlineKeyboardButton('+5',
601 callback_data=f'settings#update_size-{size + 5}'),
602 InlineKeyboardButton('-5',
603 callback_data=f'settings#update_size_-{size - 5}')
604 ],[
605 InlineKeyboardButton('+10',
606 callback_data=f'settings#update_size-{size + 10}'),
607 InlineKeyboardButton('-10',
608 callback_data=f'settings#update_size_-{size - 10}')
609 ],[
610 InlineKeyboardButton('+50',
611 callback_data=f'settings#update_size-{size + 50}'),
612 InlineKeyboardButton('-50',
613 callback_data=f'settings#update_size_-{size - 50}')
614 ],[
615 InlineKeyboardButton('+100',
616 callback_data=f'settings#update_size-{size + 100}'),
617 InlineKeyboardButton('-100',
618 callback_data=f'settings#update_size_-{size - 100}')
619 ],[
620 InlineKeyboardButton('back',
621 callback_data="settings#extra")
622 ]]
623 return InlineKeyboardMarkup(buttons)
624
625# Don't Remove Credit Tg - @VJ_Botz
626# Subscribe YouTube Channel For Amazing Bot https://youtube.com/@Tech_VJ

Callers 1

settings_queryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected