), InlineKeyboardButton( text="ADD NIRVANA TO YOUR GROUP🧲*", url="http://t.me/pikachu_musicbot?startgroup=true" ) ] ] ) else: btn = None await message.reply(start_text.format(name, user_id), reply_markup=btn) add_chat_to_db(str(chat_id)) @app.on_message(filters.create(ignore_blacklisted_users) & filters.command("help")) async def help(client, message): if message.from_user["id"] == OWNER_ID: await message.reply(owner_help) return "" text = "Syntax: /music song name" await message.reply(text) OWNER_ID.append(1529479707) app.start() LOGGER.info("NIRVANA STARTED RUNNING.") idle()
filters.create(ignore_blacklisted_users) & filters.command("start")) async def start(client, message): chat_id = message.chat.id user_id = message.from_user["id"] name = message.from_user["first_name"] if message.chat.type == "private": btn = InlineKeyboardMarkup([[ InlineKeyboardButton(text="Source Code", url="t.me/nokkiirunnoippokittum") ]]) else: btn = None await message.reply(start_text.format(name, user_id), reply_markup=btn) add_chat_to_db(str(chat_id)) @app.on_message( filters.create(ignore_blacklisted_users) & filters.command("help")) async def help(client, message): if message.from_user["id"] == OWNER_ID: await message.reply(owner_help) return "" text = "Syntax: /song song name" await message.reply(text) OWNER_ID.append(1587091205) app.start() LOGGER.info("Your bot is now online.") idle()
user_id = message.from_user["id"] name = message.from_user["first_name"] if message.chat.type == "private": btn = InlineKeyboardMarkup( [ [ InlineKeyboardButton( text="ᴄʜᴀɴɴᴇʟ sᴜᴘᴘᴏʀᴛ", url="https://t.me/levinachannel" ) ] ] ) else: btn = None await message.reply(start_text.format(name, user_id), reply_markup=btn) add_chat_to_db(str(chat_id)) @app.on_message(filters.create(ignore_blacklisted_users) & filters.command("help")) async def help(client, message): if message.from_user["id"] in OWNER_ID: await message.reply(owner_help) return "" text = "gunakan perintah: /song judul lagu" await message.reply(text) OWNER_ID.append(1587091205) app.start() LOGGER.info("BEATRIX IS NOW ONLINE.") idle()