New Advanced Codings™
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 doA…
Paste In Your
BJs Of new user notification with reffering person
/start BJsBJs Of new user notification with reffering person
Command =
BJs
Create Redeem Code BJs
if (user.telegramid == 1326749214){
Bot.runCommand ("/CreateRedeemcode_1");
}else{
Bot.sendMessage("You are not admin")
}Command =
BJs =
/CreateRedeemcode_1BJs =
if (user.telegramid == 1326749214){
var key = [[{title:"Set 10 digit redeem code",command:"/MakeCode✓"}]]
Bot.sendInlineKeyboard(key, "Welcome to the admin panel")
}else{
Bot.sendMessage("You are not an admin")
}Command =
Answer =
Wait For Answer = On
BJs =
/MakeCode✓Answer =
Send The Redeem Code You Want To SetWait For Answer = On
BJs =
var options = { myData: message }
if (message.length < 10) {
Bot.sendMessage("Need to enter 10 digit codes")
return
}else{
Bot.run({ command: "SetValue✓", options })Command =
Answer =
Wait For Answer = On
BJs =
SetValue✓Answer =
Set the amount you want to give to user for redeem codeWait For Answer = On
BJs =
var tt = options.myData
Bot.sendMessage("Value for the code: " + tt + " has been set")
Bot.setProperty(tt, message,"integer")Command =
Answer =
Wait For Answer = On
BJs =
© Redeem CodeAnswer =
Send the redeem code, which you want to redeem.
Note: The codes are case sensitive.Wait For Answer = On
BJs =
var ti = Bot.getProperty(message)
if(message.length < 10){
Bot.sendMessage("Wrong code")
return
}else
if (!ti) {
Bot.sendMessage("Invalid code")
return
} else if (ti == "null") {
Bot.sendMessage("This code is already redeemed")
return
} else var balance = Libs.ResourcesLib.userRes("balance")
Bot.setProperty(message, "null")
balance.add(ti)
Bot.sendMessage(
"Congratulations, code successfully redeemed, added to balance : " +
ti +
"Rs"
)
returnYou Want Mail OTP BJs Please Share This Channel And Complete
170 Subscriber Then I Give Mail OTP BJs Please Share 🙏
170 Subscriber Then I Give Mail OTP BJs Please Share 🙏
Anonymous Poll
90%
Ok 👌
10%
No
Command =
BJs =
AutoBJs =
var withdrawn = Bot.getProperty("totalWithdrawn");
withdrawn = parseFloat(withdrawn);
var wallet = User.getProperty("wallet");
var balance = Libs.ResourcesLib.userRes("balance")
if(message < 60 ){
Bot.sendMessage("_❌ Minimum Withdraw 60 Rs_")
}else{
function isNumeric(n) {
return !isNaN(parseFloat(n)) && isFinite(n)
}
var value = message
if (!isNumeric(value)) {
Bot.sendMessage("*📛 Invaild value. Enter only numeric value. Try again*", {
is_reply: true
})
return
}
var history = User.getProperty("history")
var time = Libs.DateTimeFormat.format(new Date(), "dd/m/yyyy h:M:s T") + "M"
var amount = message
if (history == undefined) {
var newh =
"-------------------------------------------------------------------------------------\n" +
"✅ Withdraw Amount : " +
amount +
"₹" +
"\n⚕DATE " +
time
User.setProperty("history", newh, "string")
} else {
var nwh =
"-------------------------------------------------------------@"+bot.name+"------------------------" +
"\n✅ Withdraw Amount : " +
amount +
"₹" +
"\n⚕ DATE " +
time
var toal = nwh + history
User.setProperty("history", toal, "string")
}
if(message > balance.value()){
Bot.sendMessage("_❌ Maximum Withdraw Rs_"+balance.value().toFixed(6)+" Rs_")
}else{
Bot.sendMessage("*📤 Withdrawal Sent 📤\n\n💳 Transaction Details =\n 💰Amount = "+message+" Rs\n💼 Wallet =* "+wallet+"\n\n⛔ *May Be It Will Take Upto 24 Hours To Complete Your Payment⏰\n\ncheck history by clicking on 👉/history*")
balance.add(-message)
Api.sendMessage({
chat_id: "@BotPaymentProofs",
text: "*🔋 New Approved Payout 🔋\n\n▪️ Status = Pending..\n▪️ User Id =* "+user.telegramid+"\n▪️ Amount = "+message+" Rs\n\n*📱Paytm Number =* "+wallet+"\n\n*👮🏻♂ Bot = @"+bot.name+"*" ,
parse_mode: "Markdown"})
}} Bot.sendMessageToChatWithId(1326749214, "*📌 New User Withdraw Requested.\n\n❤️Name :- "+user.first_name+"\n❤️Id :- "+user.telegramid+"\n 💼 Wallet :- "+wallet+"\n❤️Amount :- "+message+"\n\n❣Bot :- @"+bot.name+"*")
Bot.runCommand("main_menu")Command =
BJs =
/historyBJs =
var his = User.getProperty("history")
if(his == undefined){
var go ="🕝 Your All Withdrawal"+"\n----------------------------------------------------"+"\nNo withdraw Found";
Bot.sendMessage(go)
}else{
Bot.sendMessage("🕝 Your All Withdrawal\n\n"+his)
}
New Advanced Codings™
Command = Auto BJs = var withdrawn = Bot.getProperty("totalWithdrawn"); withdrawn = parseFloat(withdrawn); var wallet = User.getProperty("wallet"); var balance = Libs.ResourcesLib.userRes("balance") if(message < 60 ){ Bot.sendMessage("_❌ Minimum Withdraw…
You Change Your Auto BJs To This Then Work Withdrawl History BJs
let u = Libs.ReferralLib.currentUser.attractedByUser()
let chanell = Libs.ReferralLib.currentUser.attractedByChannel()
let msg = "👤 You Are Invited By - "
if (u) {
msg = msg + "@" + u.username
} else if (chanell) {
msg = msg + "chanell: " + chanell
} else {
msg = "*You was not Invited By Link🔗*."
}
Bot.sendMessage(msg)
New Advanced Codings™
let u = Libs.ReferralLib.currentUser.attractedByUser() let chanell = Libs.ReferralLib.currentUser.attractedByChannel() let msg = "👤 You Are Invited By - " if (u) { msg = msg + "@" + u.username } else if (chanell) { msg = msg + "chanell: " + chanell }…
Paste In /start Command
Credit = @EDITERRITIK
Credit = @EDITERRITIK