Skip to content

Commit

Permalink
change a little bit on bot.py
Browse files Browse the repository at this point in the history
better using this
  • Loading branch information
IndomieGorengSatu committed Jun 20, 2023
1 parent 661389a commit e65d2e1
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 @@ -4,8 +4,7 @@
from plugins import web_server

import pyromod.listen
from pyrogram import Client
from pyrogram.enums import ParseMode
from pyrogram import Client, enums
import sys
from datetime import datetime

Expand Down Expand Up @@ -54,7 +53,7 @@ async def start(self):
self.LOGGER(__name__).info("\nBot Stopped. Join https://t.me/CodeXBotzSupport for support")
sys.exit()

self.set_parse_mode(ParseMode.HTML)
self.set_parse_mode(enums.ParseMode.HTML)
self.LOGGER(__name__).info(f"Bot Running..!\n\nCreated by \nhttps://t.me/CodeXBotz")
self.LOGGER(__name__).info(f""" \n\n
░█████╗░░█████╗░██████╗░███████╗██╗░░██╗██████╗░░█████╗░████████╗███████╗
Expand Down

0 comments on commit e65d2e1

Please sign in to comment.