mirror of
https://github.com/Nick80835/microbot
synced 2025-08-31 14:38:04 +00:00
fix a stupid ass mistake
This commit is contained in:
@@ -188,10 +188,10 @@ async def gelbooru_buttons_callback(event):
|
||||
buttons = []
|
||||
|
||||
if this_dict[0] > 0:
|
||||
buttons += [Button.inline('⬅️', f'dan*{dict_id}*l')]
|
||||
buttons += [Button.inline('⬅️', f'gel*{dict_id}*l')]
|
||||
|
||||
if len(this_dict[1]) - 1 > this_dict[0]:
|
||||
buttons += [Button.inline('➡️', f'dan*{dict_id}*r')]
|
||||
buttons += [Button.inline('➡️', f'gel*{dict_id}*r')]
|
||||
|
||||
try:
|
||||
await event.edit(
|
||||
|
@@ -175,10 +175,10 @@ async def sankaku_buttons_callback(event):
|
||||
buttons = []
|
||||
|
||||
if this_dict[0] > 0:
|
||||
buttons += [Button.inline('⬅️', f'dan*{dict_id}*l')]
|
||||
buttons += [Button.inline('⬅️', f'san*{dict_id}*l')]
|
||||
|
||||
if len(this_dict[1]) - 1 > this_dict[0]:
|
||||
buttons += [Button.inline('➡️', f'dan*{dict_id}*r')]
|
||||
buttons += [Button.inline('➡️', f'san*{dict_id}*r')]
|
||||
|
||||
try:
|
||||
await event.edit(
|
||||
|
Reference in New Issue
Block a user