We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20719c3 commit 0936ea0Copy full SHA for 0936ea0
bot.py
@@ -6,13 +6,13 @@
6
7
from aiohttp import web
8
from pyrogram import Client
9
-from config import Rkn_Bots
+from config import Rkn_Bots, Rkn_Bots as Rkn_Botz
10
from Rkn_Bots.web_support import web_server
11
12
class Rkn_AutoCaptionBot(Client):
13
def __init__(self):
14
super().__init__(
15
- name="Rkn-AutoCaptionBot",
+ name="Rkn-Advance-Caption-Bot",
16
api_id=Rkn_Bots.API_ID,
17
api_hash=Rkn_Bots.API_HASH,
18
bot_token=Rkn_Bots.BOT_TOKEN,
@@ -24,6 +24,7 @@ def __init__(self):
24
async def start(self):
25
await super().start()
26
me = await self.get_me()
27
+ self.uptime = Rkn_Botz.BOT_UPTIME
28
self.force_channel = Rkn_Bots.FORCE_SUB
29
if Rkn_Bots.FORCE_SUB:
30
try:
0 commit comments