Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
apisuserbot authored Aug 29, 2021
1 parent 06b8903 commit a93aeb8
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions userbot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
TERM_ALIAS = os.environ.get("TERM_ALIAS", "King-Userbot")

# Bot version
BOT_VER = os.environ.get("BOT_VER", "0.5.4")
BOT_VER = os.environ.get("BOT_VER", "0.5.5")

# Default .alive username
ALIVE_USERNAME = os.environ.get("ALIVE_USERNAME", None)
Expand Down Expand Up @@ -698,11 +698,11 @@ async def on_plug_in_callback_query_handler(event):
buttons=[
[
custom.Button.inline(
"Menu Alive", data="alive_inline")],
[custom.Button.inline(
"Menu Database", data="database_inline")],
"🤖 Menu Alive 🤖", data="alive_inline"),
custom.Button.inline(
"🤖 Menu Database 🤖", data="database_inline")],
[custom.Button.inline(
"Kembali", data="menu_inline")],
"⬅️ Kembali", data="menu_inline")],
]
)
else:
Expand Down Expand Up @@ -741,7 +741,7 @@ async def on_plug_in_callback_query_handler(event):
Button.url("License",
"https://github.com/apisuserbot/King-Userbot/blob/King-Userbot/LICENSE")],
[custom.Button.inline(
"Kembali", data="settings")],
"⬅️ Kembali", data="settings")],
]
)
else:
Expand All @@ -767,7 +767,7 @@ async def on_plug_in_callback_query_handler(event):
buttons=[
[
custom.Button.inline(
"Kembali", data="settings")],
"⬅️ Kembali", data="settings")],
]
)
else:
Expand Down Expand Up @@ -806,9 +806,9 @@ async def on_plug_in_callback_query_handler(event):
buttons=[
[
custom.Button.inline(
"Info Plugins", b"info_plugins"),
"🔒 Info Plugins 🔒", b"info_plugins"),
custom.Button.inline(
"Menu Inline", data="menu_inline")],
"📚 Menu Inline 📚", data="menu_inline")],
]
)
else:
Expand Down Expand Up @@ -855,11 +855,10 @@ async def on_plug_in_callback_query_handler(event):
file=logo,
link_preview=True,
buttons=[
[custom.Button.inline("Menu Pengaturan", data="settings")],
[custom.Button.inline(
"Menu Set Vars", data="menu_vars")],
[custom.Button.inline("Menu Buka", data="opener")],
[custom.Button.inline("Menu Tutup", b"close")],
[custom.Button.inline("📍 Menu Pengaturan 📍", data="settings")],
[custom.Button.inline("🔐 Menu Set Vars 🔐", data="menu_vars")],
[custom.Button.inline("📚 Menu Buka 📚", data="opener")],
[custom.Button.inline("🗑 Menu Tutup 🗑", b"close")],
]
)
else:
Expand All @@ -880,10 +879,10 @@ async def on_plug_in_callback_query_handler(event):
link_preview=True,
buttons=[
[
custom.Button.inline("Alive", data="alive_vars")],
[custom.Button.inline("Pmpermit", data="pmpermit_vars")],
[custom.Button.inline("Inline", data="inline_vars")],
[custom.Button.inline("Kembali", data="menu_inline")],
custom.Button.inline("🤖 Vars Alive 🤖", data="alive_vars")],
[custom.Button.inline("🤖 Vars Pmpermit 🤖", data="pmpermit_vars")],
[custom.Button.inline("🤖 Vars Inline 🤖", data="inline_vars")],
[custom.Button.inline("⬅️ Kembali", data="menu_inline")],
]
)
else:
Expand Down Expand Up @@ -916,7 +915,7 @@ async def on_plug_in_callback_query_handler(event):
buttons=[
[
custom.Button.inline(
"Kembali", data="menu_vars")],
"⬅️ Kembali", data="menu_vars")],
]
)
else:
Expand Down Expand Up @@ -949,7 +948,7 @@ async def on_plug_in_callback_query_handler(event):
buttons=[
[
custom.Button.inline(
"Kembali", data="menu_vars")],
"⬅️ Kembali", data="menu_vars")],
]
)
else:
Expand Down Expand Up @@ -982,7 +981,7 @@ async def on_plug_in_callback_query_handler(event):
buttons=[
[
custom.Button.inline(
"Kembali", data="menu_vars")],
"⬅️ Kembali", data="menu_vars")],
]
)
else:
Expand All @@ -999,7 +998,7 @@ async def close(event):
link_preview=True,
buttons=[
[custom.Button.inline(
"Menu Kembali", data="menu_inline")],
"⬅️ Kembali", data="menu_inline")],
]
)
else:
Expand Down

0 comments on commit a93aeb8

Please sign in to comment.