-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathbot.py
More file actions
24 lines (20 loc) · 832 Bytes
/
Copy pathbot.py
File metadata and controls
24 lines (20 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#..........This Bot Made By [RAHAT](https://t.me/r4h4t_69)..........#
#..........Anyone Can Modify This As He Likes..........#
#..........Just one requests do not remove my credit..........#
from pyrogram import Client, filters
from pyrogram.types import InlineKeyboardButton, InlineKeyboardMarkup
from config import API_ID, API_HASH, BOT_TOKEN, ADMIN, LOG_CHANNEL
from pyrogram import utils as pyroutils
pyroutils.MIN_CHANNEL_ID = LOG_CHANNEL
from config import API_ID, API_HASH, BOT_TOKEN, ADMIN, LOG_CHANNEL
# Bot configuration
API_ID = API_ID
API_HASH = API_HASH
BOT_TOKEN = BOT_TOKEN
plugins = dict(root="plugins")
# Initialize the bot
app = Client("anime_bot", api_id=API_ID, api_hash=API_HASH, bot_token=BOT_TOKEN, plugins=plugins)
# Start the bot
if __name__ == "__main__":
print("Bot is starting...")
app.run()