FlashCom TPY Codes / Bots
257 subscribers
24 photos
1 video
44 links
This channel helps you to create bots, learn to create bots and to accuire tpy codes.
Discover special giveaways, exclusive free offers given by this channel.

Support @FlashComSupport

Partner : @SiyaBots
Download Telegram
Next which code?? @dtabse
๐Ÿ”ฅ WALLPAPER GENERATOR TPY

๐Ÿญ CMD -
/wallpaper
๐Ÿ”‘ CODE -

response = "https://sensui-useless-apis.codersensui.repl.co/api/tools/lorem-picsumV2"
re = HTTP.get(response).json()
rrr = re["imageUrl"]
bot.sendPhoto(photo=rrr)



๐Ÿ”ฐ CREDITS -
๐Ÿง‘โ€๐Ÿ’ป CREATOR -
@dtabse
๐Ÿ”— CODED ON
TELEBOTCREATOR
โ›“๏ธ API BY SENSUI

โš ๏ธ COPYRIGHT ยฉ๏ธ@dtabse

TO POST THIS TYPE OF TPY CODES ON YOUR CHANNEL DM ME !โœ“
๐Ÿ“Œ Force Subscriber TPY Code

๐Ÿš€ #1 Command:
*

๐Ÿ› ๏ธ TPY Code:
def check():
channels = ["#@Channel"]
for i in channels:
check = bot.getChatMember(str(i), u)
if check.status != 'left':
pass
else:
return False
return True

usernm = f"""<a href="tg://user?id={message.chat.id}">{message.from_user.first_name} {message.from_user.last_name}</a>"""
if message.from_user.last_name == None:
usernm = f"""<a href="tg://user?id={message.chat.id}">{message.from_user.first_name}</a>"""
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(
text="๐ŸŸข Joined",
callback_data=f"/joined {u}"))
tim = int(time.time())
until = tim+600
if check() != True:
bot.deleteMessage(chat_id=message.chat.id, message_id= message.message_id)
bot.restrictChatMember(chat_id=message.chat.id, user_id=u,can_send_messages=False, until_date=until)
txt = f"""<b>
๐Ÿ“› Hello {usernm}, Please Join Our Channel To Send Message in This Group

โžค #@Channel

โ‡๏ธ After Joining, Click <code>๐ŸŸข Joined</code></b>"""
bot.replyText(chat_id=message.chat.id, text =txt, reply_markup=markup)


๐Ÿš€ #2 Command: /joined

๐Ÿ› ๏ธ TPY Code:

if params != str(u):
bot.answerCallbackQuery(call.id,'โ›” This Message is Not For You',show_alert=True)
raise ReturnCommand()
def check():
channels = ["#@Channel"]
for i in channels:
check = bot.getChatMember(str(i), u)
if check.status != 'left':
pass
else:
return False
return True
usernm = f"""<a href="tg://user?id={u}">{call.from_user.first_name} {call.from_user.last_name}</a>"""
if call.from_user.last_name == None:
usernm = f"""<a href="tg://user?id={u}">{call.from_user.first_name}</a>"""

if check() == True:
bot.restrictChatMember(chat_id=message.chat.id, user_id=u,can_send_messages=True)
bot.editMessageText(chat_id=message.chat.id, message_id= message.message_id, text=f"<b>๐Ÿš€ {usernm}, Thanks For Joining Our Channel\n\n๐Ÿ’ฌ Now You Can Send Message</b>")
else:
bot.answerCallbackQuery(call.id,'โŒ Must Join Our Channels',show_alert=True)


โš ๏ธ Alert: Replace All
#@Channel With Your Channel Username and Must Add Your Bot as Admin in Channel and Group

โšก๏ธOfficial Channel:
@HazexTBC

โšก๏ธError & Support:
Group Chat
๐Ÿ‘1
Tell me which code do you need.

Here -
@dtabse โ™จ๏ธ
Do you need tip code in tpy?
Let me know ;
This media is not supported in your browser
VIEW IN TELEGRAM
๐Ÿ“ Need This Osam And Unique Channel Join Checker ?

๐Ÿค– You can just try here
@Instantbrod_bot
By cmd -
/join

ใ€ฝ๏ธ Please Report Error If Occurs!
โ™จ๏ธ On
bots.business
ยฉ๏ธ Copyright -
@dtabse
๐Ÿ“ AUTO JOIN CHECKER CODES ๐Ÿ“

CMD - /join

Api.sendMessage({
text:
"*Join This Channel\n\nAccording To Use Me!\n\nโ€ขJoin - sexy_amanch\nโ€ขWait For 10 Sec\nโ€ขBoom You Done!*",
parse_mode: "Markdown",
reply_markup: {
inline_keyboard: [[{ text: "Join", url: "https://t.me/sexy_amanch" }]]
},
on_result: "/joi2"
})


CMD - /joi2

var msg = options.result.message_id
//Bot.sendMessage(msg)
User.setProperty("msg_id", msg, "integer")
Bot.run({ command: "/joi3", run_after: "5" })


CMD - /joi3

var channel = "@sexy_amanch"
HTTP.get({
url:
"https://api.telegram.org/bot" +
bot.token +
"/getChatMember?chat_id=" +
channel +
"&user_id=" +
user.telegramid +
"",
success: "/joi4"
})



CMD - /joi4

var info = JSON.parse(content)
var status = info.result.status

if (
(status == "member") |
(status == "administrator") |
(status == "creator")
) {
var msg = User.getProperty("msg_id")
Api.editMessageText({
chat_id: user.telegramid,
message_id: msg,
text: "Thanks ๐Ÿ‘ For Joining Us!",
reply_markup: {
inline_keyboard: [[{ text: "Devloper", url: "t.me/Dtabse" }]]
}
})
}

if (status == "left") {
Bot.run({ command: "/joi3", run_after: "5" })
}


๐Ÿšจ NOTE - KINDLY EDIT ALL CMDS NAMES.

โ‡๏ธ CREDITS -
๐Ÿง‘โ€๐Ÿ’ป CREATOR -
@dtabse
ใ€ฝ๏ธ CODED ON
bots.business

โ™จ๏ธ COPYRIGHT BY ยฉ๏ธ@dtabse

DEMO AT @Instantbrod_bot - /join
โค1
ใ€ฝ๏ธ TEXT TO NOTE CONVERTOR

๐Ÿ“Œ CMD -
/note
๐Ÿ“ CODE-

photo_url = "https://apis.xditya.me/write?text=" +(params)
caption = "*๐Ÿ“” Here Is Your Notes!!\n\n๐Ÿ’ซ Generated by @" + Bot.info().username + "*"
bot.sendPhoto(
chat_id=u,
photo=photo_url,
caption=caption,
parse_mode="Markdown",
)


โ‡๏ธ CREDITS -
๐Ÿง‘โ€๐Ÿ’ป CREATOR -
@IndiaGuys
๐ŸŽ–๏ธ API BY - UNKNOWN
๐Ÿงžโ€โ™€๏ธ CODED ON
TELEBOT-CREATOR

โš ๏ธ COPYRIGHT BY ยฉ๏ธ @IndiaGuys

In the case of any errors kindly inform me!!
Forwarded from GetMart Official Channel (FlashCom)
โ€‹Explore the best bots you want !

โญ From @QiraOfficial telegram channel you can explore bots & it's updates which will be useful for you....
๐Ÿ‘2
Forwarded from Hazex Codes
๐Ÿ“Œ Tip For Group TBC Code

๐Ÿš€ Command:
/tip

โ“ Uses: /tip {amount}

๐Ÿ› ๏ธ TPY Code:
if params == None:
raise ReturnCommand()

coin = "#YourCoin"

try:
amount = int(params)
except:
bot.replyText(chat_id=message.chat.id,reply_to_message_id=message["message_id"], text="<b>โŒ Invalid Amount!</b>")
raise ReturnCommand()
aid = message.from_user.id
usbal = libs.Resources.anotherRes('TipBal', user=aid).value()
usrbal = int(usbal)
try:
utgid = message.reply_to_message["from"]["id"]
except:
bot.replyText(chat_id=message.chat.id,reply_to_message_id=message["message_id"], text= f"<b>โŒ To Send {coin} Please Reply To Message!</b>")
raise ReturnCommand()
fname = message.reply_to_message["from"]["first_name"]
try:
tusrn = message.reply_to_message["from"]["username"]
tusrnm = f"@{tusrn}"
except:
tusrnm = fname
gusrn = message.from_user.username
gusrnm = f"@{gusrn}"
if gusrn == None:
gusrnm = message.from_user.first_name
if int(params) <= int(usrbal):
if(int(params)>0):
libs.Resources.anotherRes('TipBal', user=utgid).add(float(params))
libs.Resources.anotherRes('TipBal', user=aid).cut(float(params))
adbal = libs.Resources.anotherRes('TipBal', user=utgid).value()
addbal = int(adbal)
bot.replyText(chat_id=message.chat.id,text=f"""<b>{tusrnm} +{amount} {coin} from {gusrnm}\n
You Have: {addbal} {coin}</b>""", parse_mode="html")
bot.replyText(message.chat.id, f"<b>{gusrnm} > {tusrnm}: +{amount} {coin}</b>")
else:
bot.sendMessage(chat_id=message.chat.id,reply_to_message_id=message["message_id"],
text=f"<b>โŒ Not Enough {coin}\nYou Have Only: {usrbal} {coin}</b>")


โš ๏ธ Note:
โ€ข Add Bot as Admin in Your Group
โ€ข Reply to User Message For Tipping
โ€ข Change
#YourCoin in Code With Your Coin

๐ŸŒ Official Channel: @HazexTBC

โ€ผ๏ธ Error & Support:
Group Chat
๐Ÿ‘1
Tell me new bot/code idea.

BJ's & tbc
@IndiaGuys ๐Ÿ’ค
๐Ÿ“ WEB SCRAPING TBC CODES

๐Ÿ—ก๏ธ Cmd -
/url

๐Ÿงฉ Code -

if options is None:
bot.sendMessage("Send Url To Scrap.")
Bot.handleNextCommand("/url", options=True)
else:
api_url = "https://webscrapping.apinepdev.workers.dev/?url="+message.text
response = HTTP.get(api_url)
data = response.json()
if response.status_code == 200:
html_data = data['html']
chunks = [html_data[i:i + 4000] for i in range(0, len(html_data), 4000)]

for chunk in chunks:
bot.sendMessage(str(chunk), parse_mode="none")


โ‡๏ธ CREDITS -
๐Ÿง‘โ€๐Ÿ’ป CREATOR -
@IndiaGuys
๐ŸŽ–๏ธ API BY -
@Prime_Nepcoder
๐Ÿงžโ€โ™€๏ธ CODED ON TELEBOT-CREATOR

โš ๏ธ COPYRIGHT BY ยฉ๏ธ @IndiaGuys


In the case of any errors kindly inform me!!
๐Ÿ‘3
๐ŸŽฎ Fish Game TBC Codes || Bet And Earn #Part-1

๐Ÿ’ก cmd -
/game

๐Ÿ’ Code -

keyboard = InlineKeyboardMarkup()

button1 = InlineKeyboardButton("๐ŸŸ Fish Game", callback_data="/fish 1-๐ŸŸ")

keyboard.row(button1)
mes_id = User.getData("game")
tt = "<b>๐Ÿ•น Choose Game From Below Button For Play. </b>"

#User.saveData("mes_id", h.message_id)
if params == "edit":
bot.editMessageText(chat_id=u, message_id=message.message_id, text=tt,
parse_mode="html", reply_markup=keyboard)
else:
h = bot.replyText(chat_id=u, text=tt, parse_mode="html",
reply_markup=keyboard)
๐Ÿ’ก cmd - /fish

๐Ÿ’ Code -

spl = params.split("-")
am = int(float(spl[0])) # Convert spl[0] to float and then to integer
fish = spl[1]
add = am + 1
min = am - 1
multi = am * 2
div = am / 2
bal = libs.Resources.userRes("balance")
cur = "Points"

if am < 1: # Check directly on am as it's now an integer
bot.answerCallbackQuery(
call.id, "โ• Minimum Bet Is 1 " + str(cur) + ".", show_alert=True)
raise ReturnCommand

if bal.value() < am and am != 0: # Check directly on am as it's now an integer
bot.answerCallbackQuery(call.id, "โ• You Have No " +
str(am) + " " + str(cur) + ".", show_alert=True)
raise ReturnCommand

mm = User.getData("game")
tt = "๐Ÿฆ <i>Available Balance:</i><b> " + str(bal.value()) + "</b>\n\nโžก๏ธ <i>Bet For Selected Fish: " + \
fish + "</i>\n\n๐Ÿ’ฐ <i>Bet For Selected Money:</i> <b> " + \
str(int(am)) + " " + str(cur) + "</b>"
keyboard = InlineKeyboardMarkup()

button1 = InlineKeyboardButton(
"Max", callback_data="/fish " + str(bal.value()) + "-" + fish)
button2 = InlineKeyboardButton(
"+1", callback_data="/fish " + str(add) + "-" + fish)
button3 = InlineKeyboardButton(
"-1", callback_data="/fish " + str(min) + "-" + fish)
button4 = InlineKeyboardButton("Min", callback_data="/fish 1-" + fish)
button5 = InlineKeyboardButton(
"ร—2", callback_data="/fish " + str(multi) + "-" + fish)
button6 = InlineKeyboardButton(
"รท2", callback_data="/fish " + str(div) + "-" + fish)
button7 = InlineKeyboardButton(
"๐ŸŸ", callback_data="/fish " + str(am) + "-๐ŸŸ")
button8 = InlineKeyboardButton(
"๐Ÿ‹", callback_data="/fish " + str(am) + "-๐Ÿ‹")
button9 = InlineKeyboardButton(
"๐Ÿก", callback_data="/fish " + str(am) + "-๐Ÿก")
button10 = InlineKeyboardButton(
"๐Ÿ ", callback_data="/fish " + str(am) + "-๐Ÿ ")
button11 = InlineKeyboardButton("๐Ÿ”™ Back", callback_data="/game edit")
button12 = InlineKeyboardButton("๐ŸŽฎ Play", callback_data="/fishes " + str(am) + "-" + fish)

keyboard.row(button1, button2, button3)
keyboard.row(button4, button5, button6)
keyboard.row(button7, button8, button9, button10)
keyboard.row(button11, button12)

bot.editMessageText(chat_id=u, message_id=message.message_id,
text=tt, parse_mode="html", reply_markup=keyboard)
๐Ÿ‘1
๐ŸŽฎ Fish Game TBC Codes || Bet And Earn #Part-2

๐Ÿ’ก cmd - /fishes

๐Ÿ’ Code -


spl = params.split("-")
am = int(float(spl[0]))
fis = spl[1]
add = am + 1
min = am - 1
multi = am * 2
div = am / 2
bal = libs.Resources.userRes("balance")
cur = "Points"

if am < 1: # Check directly on am as it's now an integer
bot.answerCallbackQuery(
call.id, "โ• Minimum Bet Is 1 " + str(cur) + ".", show_alert=True)
raise ReturnCommand

if bal.value() < am and am != 0: # Check directly on am as it's now an integer
bot.answerCallbackQuery(call.id, "โ• You Have No " +
str(am) + " " + str(cur) + ".", show_alert=True)
raise ReturnCommand

mm = User.getData("game")
fish = [
"๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ ", "๐ŸŸ", "๐Ÿ‹", "๐Ÿก", "๐Ÿ "]
ran = libs.Random.randomInt(0, len(fish))
result = fish[ran]
keyboard = InlineKeyboardMarkup()

button1 = InlineKeyboardButton("๐Ÿ”™ Back", callback_data="/game edit")
keyboard.row(button1)

if result == fis:
tt = "๐ŸŽ‰ <b>Congratulations,</b> You Have Won The Game.\n\n๐Ÿ“Ÿ <b>Result On: " + \
result+"</b>\n\nโžก๏ธ <b>Balance Added: "+str(int(am))+" "+cur+"</b>"
bal.add(am)
else:
tt = "๐Ÿ™‡โ€โ™€ <b>Oh! Sorry,</b> You Have Lost The Game.\n\n๐Ÿ“Ÿ <b>Result On: " + \
result+"</b>\n\nโžก๏ธ <b>Balance Cuted: "+str(int(am))+" "+cur+"</b>"
bal.cut(am)

bot.editMessageText(chat_id=u, message_id=message.message_id,
text=tt, parse_mode="html",reply_markup=keyboard)


โ‡๏ธ CREDITS -
๐Ÿง‘โ€๐Ÿ’ป CREATOR -
@IndiaGuys
๐Ÿงžโ€โ™€๏ธ CODED FOR
TELEBOT-CREATOR

โš ๏ธ COPYRIGHT BY ยฉ๏ธ @IndiaGuys
๐Ÿ‘1
๐Ÿ“ข Wish to be a part of our team ?

โœด๏ธ We need people to post codes, giveaways etc... To our made channels and for free.

If your willing to become a member of our team then please make sure contact @FlashComSupport

Due Data : 23/11/2023 ( Make sure send a message to the particular account mentioned above before the due Data by asking to become a part of our team )

Requirements

1. BJS
2. TPY
3. Group Management
4. Channel Checker

You may select a topic and request from the above mentioned account.

โ—Hurry Up Only 1 Will Be Selected Each Of The Above Mentioned Requirements

Thanks,
FlashCom TPY Codes / Bots
๐Ÿ“ข Wish to be a part of our team ? โœด๏ธ We need people to post codes, giveaways etc... To our made channels and for free. If your willing to become a member of our team then please make sure contact @FlashComSupport Due Data : 23/11/2023 ( Make sure sendโ€ฆ
Two has been already selected as a member of the particular channel / group now only another two are available

Available Requirements

1. BJS
2. Channel Checker

Now Soon Become a Member Of Our Team By Messaging @FlashComSupport By Sending any of the above available requirements or even you can select two
User Info Finder TpY โ“

๐Ÿš€ Command : /start

๐Ÿ› ๏ธ TPY Code : firstname = message.from_user.first_name
lastname = message.from_user.last_name
username = message.from_user.username
id = message.chat.id

bot.replyText(u,f"""๐Ÿ‘ค* Full Name:* {firstname} {lastname}
๐ŸŒ€ *Username:* {username}
๐Ÿ†” *Telegram ID:* {id}""",parse_mode="Markdown")


โšก๏ธPosted on : @flashcomtpy
โšก๏ธPosted by : @HelpGoFree
โšก๏ธCredits : @CodeUnknownCredits
โšก๏ธError Report : @flashcomofficialchat
โšก๏ธ Official Channel : @flashcomofficial

๐Ÿ”ด Flag Post
โค1
Do anyone have this Diamond And Bomb Betting BJ's or tbc or else code

Donate Here -
@IndiaGuys
Forwarded from GetMart Official Channel (HelpGo Free)
We need help from you ?

> If you know php and know to host files in databases please make sure send a message to @FlashComSupport because we need help from you !

Thank You,
Do you want your tpy codes or bots giveaways to be posted in this channel !

โญ๏ธ If your willing to post your tpy codes or your tpy bots giveaways to this channel you can contact @FlashComSupport by sending your post.

Post Format Will Be Edited And Posted In This Channel Once After Verifying

Send Message Of Your tpy Codes or Bots to @FlashComSupport
๐Ÿ‘2
๐Ÿ”Š Announcement

โญ๏ธ We are just thrilled to announce you the GoFlash App.

What's GoFlash App ?
๐ŸŒŸ This app helps you to find codes to build telegram bots, telegram bot templates and tools.

๐Ÿš€ Join GoFlash Official Channel to Get App Download Link and App Updates :

https://t.me/GoFlashOfficial