β‘οΈ Command -->
Wait For Answer On
Answer -->
Codes -->
RpayWait For Answer On
Answer -->
*Enter the Amount of INR/Rupees You Want To Deposit :*Codes -->
if(message.includes("-")){
Bot.sendMessage("Don't use sign")
}else{
var number = parseInt(message)
if (!number) {
Bot.sendMessage("Amount Should be Number Only")
return
}
User.setProperty("ag",null)
var depam = message
var adma = message / 3
var ord = Libs.Random.randomInt(1111, 9999999)
var or = "BBLocal"+ord+""
User.setProperty("oid", or)
User.setProperty("da", message)
var tr = (depam * 1.0) / 100
var amount = parseInt(depam) + tr
User.setProperty("dpam", amount)
/*var amount = am * 10
var amo = message + amount / 100
*/
var b = [
[
{
title: "π΄ Pay",
url:
"https://full2sms.in/gateway/processPpayment?token=&amount=" +
amount +
"&order_id=" +
or +
"&cpin="
}
],
[{ title: "β
Paid", command: "/secprav2" }]
]
Bot.sendInlineKeyboard(
b,
"*β±οΈYour Deposit Request\n\nπ― Username : @"+user.username+"\nπΈ Paying Amout : "+amount+"\nπ Adding Balance : "+adma+" MPπ\nπ§Ύ Order Id : * BBLocal"+ord+"",{is_reply : true}
)
}π1
Command -->
Codes-->
/secprav2Codes-->
if (request.data) {
var message_id = request.message.message_id
var chat_id = request.message.chat.id
Api.deleteMessage({
chat_id: chat_id,
message_id: message_id
})
}
function canRun(){
var last_run_at = User.getProperty("last_run_at");
if(!last_run_at){ return true }
var minutes = (Date.now() - last_run_at) /100/10;
var minutes_in_day = 1 * 6
var next = minutes_in_day - minutes
var wait_hours = Math.floor(next / 2)
next -= wait_hours *1
var wait_minutes = Math.floor(next)
var seconds = Math.floor((next - wait_minutes) * 1)
if (minutes < minutes_in_day) {
Bot.sendMessage("**")
return
}
return true;
}
if(!canRun()){ return }
User.setProperty("last_run_at", Date.now(), "integer");
var id = User.getProperty("oid")
HTTP.get({url:"https://full2sms.in/gateway/paymentStatus?order_id="+id+"&gpin=", success:"/secprav3"})π2β€1
Command--> /secprav3
Codes-->
Codes-->
if (content == "Invalid Order id!") {
Api.sendPhoto({
photo: "https://telegra.ph/file/07ad06bdd9842820437b1.jpg",
caption: "*Your transaction not found*",
parse_mode: "Markdown"
})
return
}
if (r == "Duplicate order id!") {
Api.sendPhoto({
photo: "https://telegra.ph/file/07ad06bdd9842820437b1.jpg",
aption: "*Your transaction not found*",
parse_mode: "Markdown"
})
return
}
var key = Bot.getProperty("channel")
var re = User.getProperty("ag")
var bal = Libs.ResourcesLib.userRes("balance")
var da = User.getProperty("da")
var da2 = da / 3
var dp = User.getProperty("dpam")
var r = JSON.parse(content)
var st = r.status
var a = r.amount
if (st == "success"&dp==a) {
if(re== "already"){
Bot.sendMessage("already")
}else{
Api.sendPhoto({
photo: "https://i.ibb.co/jWWvqzj/file-142.jpg",
caption: "*π Deposit Successful\n\nπΈ Amount Received :* βΉ " + da + "\n*β Added Balance :* _"+da2+"MP_π",
parse_mode: "Markdown"
})
Api.sendMessage({
chat_id: "@",
text:
"*π₯³ New Deposit*(_Paytm_)\n\nπ€ User:* "+user.first_name+
"\n\nπ΅ Amount : βΉ " + da +
"`\n\n*π€© Buy Now Your Pro Bots And Codes Here β¬οΈ:* @"+bot.name+
"*",
parse_mode: "Markdown"
,reply_markup: {inline_keyboard: [[{text: "*π¦Deposit Now*",url: "https://t.me/botname"}]]
}})
Bot.sendMessageToChatWithId(
your id,
"*New user Deposited\n\nUser:* [" +
user.first_name +
"](t.me/" +
user.username +
")\n\n*Deposited:" +
a +
"*"
)
User.setProperty("ag","already","string")
bal.add(+da2)}
} else {
Api.sendPhoto({
photo: "https://i.ibb.co/6BS6tHG/file-122.jpg",
caption: "*β Payment Failed*",
parse_mode: "Markdown"
})
}β€3
ADVANCE BOT CODERS
Need this type codes
Advanced Full2sms accept Payment Codes
Start --> https://t.me/botcodes123/861
End --> https://t.me/botcodes123/863
Β© Credit --> @botcodes123
Start --> https://t.me/botcodes123/861
End --> https://t.me/botcodes123/863
Β© Credit --> @botcodes123
β€2π1
Api For Chatbot
https://chatbotarmanidrisi.vercel.app/chatbot/message=Hello
Pro Users Use This API In Your Project π
https://chatbotarmanidrisi.vercel.app/chatbot/message=Hello
Pro Users Use This API In Your Project π
β€5π1
π3π₯1
ADVANCE BOT CODERS
Done DEPOSIT FROM PAYTM QR [MERCHANT] CODES DONE... πStartπ:- Click Here πEndπ:- Click Here β
Codes By :- @botcodes123
Paytm Qr Deposit Codes || Do Not Pay Anyone For Thisπ₯²π₯²
π4π₯1π₯°1
Tempmail.zip
2.6 KB
β€2π1
π4
Source code: https://github.com/Armanidrisi/play-store-api/
How To Deploy
https://youtu.be/txrw1uE3oRk
How To Deploy
https://youtu.be/txrw1uE3oRk
π5π±1
β
Send Mail Using Bot
FIRST COMMAND
Command ->
Bjs ->
SECOND COMMAND
Command->
Wait for answer : on
Bjs ->
THIRD COMMAND
Command -->
Wait for answer : on
Bjs-->
FOURTH COMMAND
Command-->
Bjs-->
FIRST COMMAND
Command ->
/mailBjs ->
Bot.sendMessage("*Enter The Email Adress*");
Bot.runCommand("Setmail")SECOND COMMAND
Command->
SetmailWait for answer : on
Bjs ->
User.setProperty("email",message)
Bot.sendMessage("*Enter The Subject*")
Bot.runCommand("SetSubject")THIRD COMMAND
Command -->
SetSubjectWait for answer : on
Bjs-->
User.setProperty("subject",message)
Bot.sendMessage("*Enter Your Message*")
Bot.runCommand("sendmessage")FOURTH COMMAND
Command-->
sendmessageBjs-->
const email = User.getProperty("email")
const subject = User.getProperty("subject")
const msg= message
HTTP.post({
url:"https://gmailapi-armanidrisi.vercel.app/api/mail/",
body:{
//Enter Your Email Here
sender: "youmail@gmail.com",
//Enter Your Password here
password:"yourpass",
recipient:email,
subject:subject,
message: msg
},
success: "suc"
})β€2π2π1
Use This API For Sending Emails
https://gmailapi-armanidrisi.vercel.app/api/mail/
Send Post Request
Example parameters :
https://gmailapi-armanidrisi.vercel.app/api/mail/
Send Post Request
Example parameters :
{"sender":"yourmail@gmail.com","password":"yourpass","recipient":"user mail","subject":"subject","message":"msg"}π1
How to find password for sending mail
https://telegra.ph/How-to-get-an-app-password-from-your-Gmail-08-31
Post credit : Jobians
https://telegra.ph/How-to-get-an-app-password-from-your-Gmail-08-31
Post credit : Jobians
π1
β»οΈ Find User Balance Bjs
βββββββββββ
Command - /find
Answer -
Wait for answer - on
Bjs -
βββββββββββ
Command - /find
Answer -
send his telegram idWait for answer - on
Bjs -
const admin =
Bot.getProperty("admin"+user.telegramid)
if(user.telegramid == admin){
var b =
Libs.ResourcesLib.anotherUserRes("balance",message)
Bot.sendMessage("*Balance Of User "+message+" is* "+b.value())
}else{
Bot.sendMessage("You Are Not An Admin")
}Command -->
Codes --> text = """<b>βοΈ Must Join All Our Channel
β @testpostchnl
βοΈ After Joining, Click On 'π’ Joined'</b>"""
is_invited = User.getData("is_invited")
u = str(u)
already = User.getData('bot_user')
if already != None:
pass
else:
User.saveData('balance', 0)
User.saveData('ref_count', 0)
User.saveData('withdrawn', 0)
User.saveData('bot_user', True)
if Bot.getData('total_users') == None:
Bot.saveData('total_users', 1)
else:
t = int(Bot.getData('total_users'))+1
Bot.saveData('total_users', t)
# bot.replyText(u, str(Bot.getData('total_users')))
keyboard = ReplyKeyboardMarkup(True)
keyboard.row('π’ Joined')
refer = message.text.split(" ")
if message.text == "/start":
if is_invited == None:
User.saveData('is_invited', True)
bot.replyText(
chat_id=u,
text=text,
parse_mode="html",
reply_markup=keyboard
)
else:
if str(u) == refer[1]:
if is_invited == None:
User.saveData("is_invited", True)
bot.replyText(
chat_id=u,
text=text,
parse_mode="html",
reply_markup=keyboard
)
else:
if is_invited == None:
refer_balance = User.getData("balance", user=refer[1])
count = User.getData('ref_count', user=refer[1])
if refer_balance == None:
bot.replyText(
chat_id=u,
text="<b>Invalid referral.</b>"
)
refer_balance = float(refer_balance)
refer_balance += 1
count = int(count)
count += 1
bot.replyText(
chat_id=refer[1],
text=f"<b>π +1 For new Refer</b>",
parse_mode="html"
)
User.saveData("ref_count", data=count, user=refer[1])
User.saveData("balance", data=refer_balance, user=refer[1])
bot.replyText(
chat_id=u,
text=f"<b>π You are invited by {refer[1]}</b>",
parse_mode="html"
)
refer_balance = User.getData("balance", user=refer[1])
User.saveData("is_invited", True)
bot.replyText(
chat_id=u,
text=text,
parse_mode="html",
reply_markup=keyboard
)
/startCodes --> text = """<b>βοΈ Must Join All Our Channel
β @testpostchnl
βοΈ After Joining, Click On 'π’ Joined'</b>"""
is_invited = User.getData("is_invited")
u = str(u)
already = User.getData('bot_user')
if already != None:
pass
else:
User.saveData('balance', 0)
User.saveData('ref_count', 0)
User.saveData('withdrawn', 0)
User.saveData('bot_user', True)
if Bot.getData('total_users') == None:
Bot.saveData('total_users', 1)
else:
t = int(Bot.getData('total_users'))+1
Bot.saveData('total_users', t)
# bot.replyText(u, str(Bot.getData('total_users')))
keyboard = ReplyKeyboardMarkup(True)
keyboard.row('π’ Joined')
refer = message.text.split(" ")
if message.text == "/start":
if is_invited == None:
User.saveData('is_invited', True)
bot.replyText(
chat_id=u,
text=text,
parse_mode="html",
reply_markup=keyboard
)
else:
if str(u) == refer[1]:
if is_invited == None:
User.saveData("is_invited", True)
bot.replyText(
chat_id=u,
text=text,
parse_mode="html",
reply_markup=keyboard
)
else:
if is_invited == None:
refer_balance = User.getData("balance", user=refer[1])
count = User.getData('ref_count', user=refer[1])
if refer_balance == None:
bot.replyText(
chat_id=u,
text="<b>Invalid referral.</b>"
)
refer_balance = float(refer_balance)
refer_balance += 1
count = int(count)
count += 1
bot.replyText(
chat_id=refer[1],
text=f"<b>π +1 For new Refer</b>",
parse_mode="html"
)
User.saveData("ref_count", data=count, user=refer[1])
User.saveData("balance", data=refer_balance, user=refer[1])
bot.replyText(
chat_id=u,
text=f"<b>π You are invited by {refer[1]}</b>",
parse_mode="html"
)
refer_balance = User.getData("balance", user=refer[1])
User.saveData("is_invited", True)
bot.replyText(
chat_id=u,
text=text,
parse_mode="html",
reply_markup=keyboard
)
π5π±2π1
Command -->
Codes --> def check():
channels = ['@testpostchnl']
for i in channels:
check = bot.getChatMember(str(i), u)
if check.status != 'left':
pass
else:
return False
return True
if check() == True:
keyboard = ReplyKeyboardMarkup(True)
keyboard.row("π» Profile", "π§ Set Wallet")
keyboard.row("π€ Withdraw", "π Stats")
keyboard.row("π Refer And Earn")
bot.replyText(
chat_id = message.chat.id,
text = "*π‘ Main Menu*",
reply_markup = keyboard,
parse_mode="markdown"
)
else:
bot.replyText(u, "*β You need to join our channels First.*" ,parse_mode = "markdown")
π’ JoinedCodes --> def check():
channels = ['@testpostchnl']
for i in channels:
check = bot.getChatMember(str(i), u)
if check.status != 'left':
pass
else:
return False
return True
if check() == True:
keyboard = ReplyKeyboardMarkup(True)
keyboard.row("π» Profile", "π§ Set Wallet")
keyboard.row("π€ Withdraw", "π Stats")
keyboard.row("π Refer And Earn")
bot.replyText(
chat_id = message.chat.id,
text = "*π‘ Main Menu*",
reply_markup = keyboard,
parse_mode="markdown"
)
else:
bot.replyText(u, "*β You need to join our channels First.*" ,parse_mode = "markdown")
Command-->
Codes -->
π§ Set WalletCodes -->
wallet = User.getData("wallet")
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(
text='βοΈ Set Wallet',
callback_data='setwallet')
)
bot.replyText(
chat_id = message.chat.id,
text = f"""<b>βοΈ Current wallet: <code>{wallet}</code>
π° To change wallet click 'βοΈ Set wallet' button</b>""",
reply_markup = markup,
parse_mode = "html"
)Command -->
Codes --> balance = str(User.getData("balance"))
wallet = str(User.getData('wallet'))
user = str(u)
msg = f"""π§ <b>User</b>: {user}
π <b>Wallet</b>: <code>{wallet}</code>
π³ <b>Balance</b>: {balance} <i>Rs</i>"""
bot.replyText(u, msg, parse_mode="html")
π» ProfileCodes --> balance = str(User.getData("balance"))
wallet = str(User.getData('wallet'))
user = str(u)
msg = f"""π§ <b>User</b>: {user}
π <b>Wallet</b>: <code>{wallet}</code>
π³ <b>Balance</b>: {balance} <i>Rs</i>"""
bot.replyText(u, msg, parse_mode="html")
π2
Command -->
Codes -->
π€ WithdrawCodes -->
def withdraw():
wall = User.getData("wallet")
bal = User.getData("balance")
Mini_Withdraw = "1"
if bal == None:
return
if wall == None:
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(
text='β
Set wallet', callback_data='setwallet'))
bot.replyText(u, "<b>βοΈ Current wallet:</b> <code>Not set</code>οΈn<b>βΌοΈ Please set your wallet first For withdraw</b>",
parse_mode="html", reply_markup=markup)
return
if bal >= 1:
bot.replyText(u, "<b>β οΈ Enter amount to withdraw Your paytm cash.</b>",
parse_mode="html")
Bot.handleNextCommand("withdraw737")
else:
bot.replyText(
u, "<i>β Your balance low you should have at least "+Mini_Withdraw+" Rs to Withdraw</i>", parse_mode="html")
return
withdraw()π3