yaainnnxitstore/YASIN_XIT_BOTPublic · Bot Template

ProfileTelegram

AIYASIN XIT FREE KEY appears to be a Telegram automation bot. Commands include /menu, /addfund, /confirm_buyitem, /rembal, /sendorderkey_input, /removeproduct, /add_reseller, /addkey. Observed in code: messaging, keyboards, payments, games, libs, web.

Utilityutility
140 commands0 envUpdated 1mo agoCreated Sep 11, 2026
Back to folder

commands/_addproduct_new.js

javascript · 21 lines

Raw
1/**#command2name: /addproduct_new3answer: 4keyboard: 5parse_mode: markdown6aliases: 7allow_only_group: false8need_reply: false9is_web: 010#command**/11 12var __u=(typeof update!=="undefined"&&update)?update:null;13var __cb=(__u&&__u.callback_query)?__u.callback_query:null;14var __msg=(__cb&&__cb.message)?__cb.message:null;15var __mid=__msg&&__msg.message_id?Number(__msg.message_id):0;16function __edit(t,m){var cid=chat&&chat.chatid,mk=typeof m==="string"?m:JSON.stringify(m||{});if(__mid){try{return Api.editMessageText({chat_id:cid,message_id:__mid,text:t,parse_mode:"HTML",reply_markup:mk});}catch(e){try{return Api.editMessageCaption({chat_id:cid,message_id:__mid,caption:t,parse_mode:"HTML",reply_markup:mk});}catch(e2){}}}return Api.sendMessage({chat_id:cid,text:t,parse_mode:"HTML",reply_markup:mk});}17try{18 var owner=String(Bot.getProperty("owner_id")||"8225479428"),uid=String(user.telegramid);if(uid!==owner&&!Bot.getProperty("co_admin_"+uid)){__edit("❌ You are not authorized.",{});return;}19 User.setProperty("add_product_step","waiting_for_name","string");User.setProperty("temp_product_name",null,"string");User.setProperty("temp_duration_value",null,"string");User.setProperty("temp_duration_unit",null,"string");User.setProperty("temp_duration_display",null,"string");User.setProperty("temp_price",null,"string");User.setProperty("temp_stock",null,"string");20 __edit("📦 <b>NEW PRODUCT</b>\n\nSend the name of the product you want to add.\n\nExample: <code>BRMOD ANDROID ROOT</code>",{inline_keyboard:[[{text:"🔙 Back",callback_data:"/addproduct"}]]});21}catch(e){__edit("❌ Could not start the new product flow.",{inline_keyboard:[[{text:"🔙 Back",callback_data:"/addproduct"}]]});}