TheHamkerCat %!s(int64=5) %!d(string=hai) anos
pai
achega
8564636e9f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      wbb/core/keyboard.py

+ 1 - 1
wbb/core/keyboard.py

@@ -52,4 +52,4 @@ def ikb(data: dict, row_width: int = 2):
     Converts a dict to pyrogram buttons
     Ex: dict_to_keyboard({"click here": "this is callback data"})
     """
-    return keyboard(data.items(), row_width=2)
+    return keyboard(data.items(), row_width=row_width)