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")Anyone Have 3 Referral Level BJs
Message Here - @chatsbotbusiness
Message Here - @chatsbotbusiness
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
function hello(message) {
var greetings = ""
Bot.sendMessage(greetings + message)
}
function doTouchOwnLink() {
Bot.sendMessage("*You're Trying To Invite You're Self β*")
}
function doAttracted(user) {
hello("Referal: " + user)
}
function doAtractedByUser(refUser) {
hello("")
var balance = Libs.ResourcesLib.anotherUserRes("balance", refUser.telegramid)
balance.add(5)
Bot.sendMessageToChatWithId(refUser.chatId, "*A new user just joined using your refferal linkπ\n\nBonus: 5 Rs*");
}
function doAlreadyAttracted(){
Bot.sendMessage("*You Already Started The Bot β*");
}
var trackOptions = {
onTouchOwnLink: doTouchOwnLink,
onAttracted: doAttracted,
onAtractedByUser: doAtractedByUser,
onAlreadyAttracted: doAlreadyAttracted
}
Libs.ReferralLib.currentUser.track(trackOptions);
var welco = User.getProperty("welco")
if (welco == undefined) {
var user_link =
"[" + user.first_name + "]" + "(" + "tg://user?id=" + user.telegramid + ")"
var stat = Libs.ResourcesLib.anotherChatRes("stat", "global")
stat.add(1)
}
User.setProperty("welco", user.telegramid, "text")
var button = [{ title : "Say Wlc To user.first_name" , command : "/reply" + user.telegramid }]
var u = Libs.ReferralLib.currentUser.attractedByUser();
var new_user = User.getProperty ("new_user")
if(!new_user){
var adminid = 1326749214
var msg = "[" +
user.first_name +
"](tg://user?id=" +
user.telegramid +
")"
if(u){
msg = "*π New User!*"+"\n\nUser:-"+"[" +
user.first_name +
"](tg://user?id=" +
user.telegramid +
")" + "\n\nUser id : "+user.telegramid+"\n\nReferred By :" + "[" +
u.first_name +
"](tg://user?id=" +
u.telegramid +
")"
}else{
msg = "*π New User!*"+"\n\nUser:"+"[" +
user.first_name +
"](tg://user?id=" +
user.telegramid +
")" + "\n\nUser id : "+user.telegramid+"\n\nReferred By :" + " From Channel "
}
Bot.sendInlineKeyboardToChatWithId(1326749214, button, msg);
User.setProperty ("new_user",true,"boolean")
}
Bot.runCommand("main_menu2")