Command = /startAnswer:
send the OTP sent on @YourChannellinkBJs:-
let num = Libs.Random.randomInt(11111,99999)
var id = "*Hello!* "+"@"+user.username+"\n"+"\n"+"*Requester's name:* "+user.first_name+"\n\n"+"*Your OTP For Logging in to @"+bot.name+" is:* "+num
User.setProperty("OTP",num)
Api.sendMessage({
chat_id: "@YourChannelLink",
text: id,
parse_mode: "Markdown"})
Bot.run({command:"/cotp"})Command:-
Wait for answer = On
/cotpWait for answer = On
BJs =
let list = new List({ name: "OTP" })
var otp = User.getProperty("OTP")
if(message == otp){
Bot.run({command:"/started"})
}else
Bot.sendMessage("Wrong Otp Entered🔐")
New Advanced Codings™
Command = /start BJs = var button = [{ title : "✅ Check" , command : "⚜️ Joined ⚜️" }] Bot.sendInlineKeyboard(button , "*🛡 Join Our Channel If You Want Use The And Earn From : \n\n 1 ➡️ @FreeFire_Free_Giveway\n\n 2 ➡️ @Free_Redeem_Code_Giveways\n\n☑️ Done…
Your
/start Command Change To /started
New Advanced Codings™
Command = /ask_user Answer = 🖋 Send User Tg Id To Reply. Wait For Answer = On BJs = User.setProperty("tgid",message,"string") Bot.runCommand("Message") New Command = Message Answer = Enter A Message To Send User Wait For Answer = On BJs = var id = Us…
Command =
Answer =
Wait For Answer = On
BJs =
Message Answer =
Enter A Message To Send User Wait For Answer = On
BJs =
var id = User.getProperty("tgid")
Bot.sendMessageToChatWithId(id,message)
Bot.sendMessage("📌 Message Sended To User")Command =
BJs =
/maintanancemodeBJs =
if(user.telegramid!="1180293826"){
Bot.sendMessage('u r not a admin')
return}
var format_error_text = "Incoorect Format\nuse /maintanancemode on or /maintanancemode off"
if(!params){
Bot.sendMessage(format_error_text)
return
}
if(params != "on" && params != "off"){
Bot.sendMessage(format_error_text)
return
}
Bot.setProperty("maintanancemode",params,"string")
Bot.sendMessage("Maintanance mode set to : " + params)Command =
BJs =
@BJs =
if(user.telegramid!="Your TG Id"){
var maintanancemode = Bot.getProperty("maintanancemode","off")
if(maintanancemode == "on"){
Bot.sendMessage("Bot is under maintance")
return
}
}🧑🏻💻 User = @bapakan
BJs Request = Mail OTP BJs
Anyone Have This BJs Message - @ChannelSeller22
I Will Give You Credit And Reward Some BB
Anyone Have Fast Come
BJs Request = Mail OTP BJs
Anyone Have This BJs Message - @ChannelSeller22
I Will Give You Credit And Reward Some BB
Anyone Have Fast Come
Unknown Command BJs
Command =
No BJs In This
Command =
*
Answer = ❌ Unknown Command!
You have send a Message directly into the Bot's chat or
Menu structure has been modified by Admin.
ℹ️ Do not send Messages directly to the Bot or
reload the Menu by pressing /startNo BJs In This
⁉️ How To Make Two Admin
BJs =
It's Work On Only Admin Panel
BJs =
let work= Bot.getProperty ("work")
if (user.telegramid =="1180293826" || user.telegramid == "1326749214" ) {It's Work On Only Admin Panel