Skip to content

Commit

Permalink
fix pyrogram.enums not found in vps (mrismanaziz#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
IndomieGorengSatu authored Jun 28, 2023
1 parent 34815d5 commit c627722
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
import pyromod.listen
import sys

from pyrogram import Client
from pyrogram.enums import ParseMode
from pyrogram import Client, enums

from config import (
API_HASH,
Expand Down Expand Up @@ -115,7 +114,7 @@ async def start(self):
)
sys.exit()

self.set_parse_mode(ParseMode.HTML)
self.set_parse_mode(enums.ParseMode.HTML)
self.LOGGER(__name__).info(
f"[🔥 BERHASIL DIAKTIFKAN! 🔥]\n\nBOT Dibuat oleh @{OWNER}\nJika @{OWNER} Membutuhkan Bantuan, Silahkan Tanyakan di Grup https://t.me/SharingUserbot"
)
Expand Down

0 comments on commit c627722

Please sign in to comment.