iamgojoof6eyes commited on
Commit
ffb50fb
·
1 Parent(s): 4edb9ab

Minor changes

Browse files
Files changed (1) hide show
  1. Powers/utils/kbhelpers.py +4 -2
Powers/utils/kbhelpers.py CHANGED
@@ -1,6 +1,9 @@
1
  from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
2
 
3
 
 
 
 
4
  def ikb(rows=None):
5
  if rows is None:
6
  rows = []
@@ -14,5 +17,4 @@ def ikb(rows=None):
14
  return InlineKeyboardMarkup(inline_keyboard=lines)
15
 
16
 
17
- def btn(text, value, type="callback_data"):
18
- return InlineKeyboardButton(text, **{type: value})
 
1
  from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
2
 
3
 
4
+ def btn(text, value, type="callback_data"):
5
+ return InlineKeyboardButton(text, **{type: value})
6
+
7
  def ikb(rows=None):
8
  if rows is None:
9
  rows = []
 
17
  return InlineKeyboardMarkup(inline_keyboard=lines)
18
 
19
 
20
+