New Advanced Codingsβ’
Want Like This BJs Message Here - @BotsBusinesss
Guys Complete 600 Subscriber
Command =
BJs =
If You Added Inline main_menu Codes Use This Command =
REFFERAL LINK Or π₯ ReferralBJs =
let lib = Libs.ReferralLib
var refList = lib.currentUser.refList.get()
var button = [
[{ text: "π My Refferal Link", callback_data: "Reflink" }],
[
{ text: "πTop Refferal", callback_data: "πTop Referals" },
{ text: "πDetailed Reportπ", callback_data: "π
Refferal Detail" }
]
]
Api.sendPhoto({
photo: "https://t.me/TotalGaming_Offical_Group/33757",
caption:
"*π‘ Welcome To Refer And Earn\n\nπPer Referral - 5 Rs\n\nπ₯ Total Invites : " +
refList.length +
" Users*",
reply_markup: { inline_keyboard: button },
parse_mode: "Markdown"})
If You Added Inline main_menu Codes Use This Command =
REFFERAL LINKCommand =
BJs =
ReflinkBJs =
let stat = Bot.getProperty(""+user.telegramid+"");
if (stat=="ban"){
Bot.sendMessage("*You're Ban*");
}else{
let reflink = Libs.ReferralLib.currentUser.getRefLink(""+bot.name+"","Bot")
Bot.sendMessage("*π Your Refferal Link - \n"+reflink+"*")
}βοΈ How To Check Used Iteration Without Opening Bots.Business App
Command =
BJs =
Command =
/CheckUsedIterationBJs =
if (user.telegramid == 1326749214 | user.telegramid == 1326749214){
var mmmme = ""
var key = [[{title:"",command:"Admin"}]]
Bot.sendInlineKeyboard(key,"")
Bot.sendMessage("*π Your Account Used Iterations Are - Used "+mmmme+iteration_quota.progress+" / 25000*")
}else{
Bot.sendMessage("βYour Are Not Admin To Do This")
}Share Our Channel For Free BJs Any BJs You Want Inbox Here - @BotsBusinesss
Example -
#request_code
BJs Name - any
Please Don't Ask For Coin Payment BJs
Please write BJs Name In Group I Will Upload
βοΈ How To Create Anonymous Quiz
Command =
BJs =
This Command Name For Example You Can Change Command Name
Command =
QuizBJs =
Api.sendPoll({
question: "Question Name",
options: ["Option 1, Option 2"],
type: "quiz",
correct_option_id: "Option 1"
})This Command Name For Example You Can Change Command Name
New Advanced Codingsβ’
Guys You Need Task BJs Complete Atleast 620 Subscriber
Done β
BJs Coming Soon
Command =
BJs =
π TaskBJs =
var button = [[{title : "β
Joined" , command : "β
Joined"}]]
Bot.sendInlineKeyboard(button,"*π₯ Join And 5 Rs Instantly\n\nβ‘οΈ Join - @BotBusinessBot_Code*")Command =
BJs =
β
JoinedBJs =
let stat = Bot.getProperty(""+user.telegramid+"");
if (stat=="ban"){
Bot.sendMessage("*You're Ban From Using The Bot β*");
}else{
let channel = "@BotBusinessBot_Code";
let id = user.telegramid
Api.getChatMember({
chat_id : channel,
user_id : id,
on_result :"Checking"})
}Command =
BJs =
CheckingBJs =
var user = options.result.status;
User.setProperty("status" , user, "string");
if (user=="member" | user =="administrator" | user=="creator"){
Bot.runCommand("processing")
User.addToGroup("user")
}
if (user=="left"){
Bot.sendMessage("*β You Are Not Joined The Channel*")
}Command =
BJs =
processingBJs =
function canRun(){
var last_run_at_1 = User.getProperty("last_run_at_1");
if(!last_run_at_1){ return true }
var minutes = (Date.now() - last_run_at_1) /1000/60;
var minutes_in_day = 9999999999 * 60
var next = minutes_in_day - minutes
var wait_hours = Math.floor(next / 60)
next -= wait_hours * 60
var wait_minutes = Math.floor(next)
var seconds = Math.floor((next - wait_minutes) * 60)
if (minutes < minutes_in_day) {
Bot.sendMessage("*β
You Are Already Completed This Task Complete Another Task*" );
return
}
return true;
}
if(!canRun()){ return }
User.setProperty("last_run_at_1", Date.now(), "integer");
let balance = Libs.ResourcesLib.userRes("balance");
balance.add(5)
Bot.sendMessage("*πCongratulations You Received 5 Rs π΅*")