Skip to content

Commit

Permalink
fix for termux
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiTheModder authored Jun 17, 2024
1 parent 31f7fbd commit 12cc86a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@
from utils.db import db
from utils.scripts import format_exc, restart


def check_command(command):
return shutil.which(command) is not None


@Client.on_message(filters.command("restart", prefix) & filters.me)
async def restart_cmd(_, message: Message):
db.set(
Expand Down

0 comments on commit 12cc86a

Please sign in to comment.