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
📌 How To Get Current User Full name, username , telegram id

🚀 Command : /info

🛠️ 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}\n🌀 *Username:* {username}\n🆔 *Telegram ID:* {id}""",parse_mode="Markdown")


Official Channel : @flashcomofficial

Error & Support : @flashcomofficialchat
👍5
More Tpy Codes Will be Coming Soon !
📌 How To Make Daily Bonus

🚀 Command:
🎁 Bonus

🛠️ TPY Code:
bonus = User.getData("bonus676")
cur_time = int((time.time()))

def conv(time):
sec = time % (24 * 3600)
hour = sec // 3600
sec %= 3600
mins = sec // 60
sec %= 60
return "%d h %02d m %02d s" % (hour, mins, sec)

str(u)

cur_time = int((time.time()))
balance = libs.Resources.anotherRes('Balance', user=message.chat.id).value()
bamnt = int(100)
if (bonus == None) or (cur_time - bonus > 24*60*60):
User.saveData("bonus676", cur_time)
libs.Resources.anotherRes('Balance', user=message.chat.id).add(bamnt)
bot.replyText(
u, f"""*🎁 Congrats, You Recieved {bamnt} SHIB

🔎 Check Back After 24 Hours*""", parse_mode="Markdown")
else:
bot.replyText(
u, f"""*📛 You Already Recieved Bonus In Last 24 Hours

▶️ Come Back After: {conv(bonus - cur_time)}*""", parse_mode="Markdown")


Official Channel : @flashcomofficial

Error & Support :
@flashcomofficialchat
👍21
Which Codes Needed?

Type here
@dtabse 👍
📌 How To Get Anyone Profile Picture By Username

🚀 Command:
/pic

🛠 TPY Code:
if params == 'None':
bot.replyText(chat_id=u,text="*Please Use This Format\n\n/pic @username*", parse_mode="markdown")
else:
A = params
a = slice(1, 50)
pic = A[a]
bot.replyPhoto(chat_id=u, photo=f"https://t.me/{pic}")

How To Use:
/pic @Username

⚡️Official Channel : @flashcomofficial

⚡️Error & Support :
@flashcomofficialchat
👍4
Forwarded from GetMart Official Channel (FlashCom Owner)
Eid Al-Adha 🌙
1👍1
📌 All TBC Action

👉 Typing

bot.sendChatAction(
chat_id=message.chat.id,
action="typing")

=========================

👉 Uploading Photo

bot.sendChatAction(
chat_id=message.chat.id,
action="upload_photo")

=========================

👉 Recording A Video

bot.sendChatAction(
chat_id=message.chat.id,
action="record_video")

=========================

👉 Sending A Video

bot.sendChatAction(
chat_id=message.chat.id,
action="upload_photo")

=========================

👉 Recoding A voice

bot.sendChatAction(
chat_id=message.chat.id,
action="record_voice")

=========================

👉 Sending A voice

bot.sendChatAction(
chat_id=message.chat.id,
action="upload_voice")

=========================

👉 Sending a file

bot.sendChatAction(
chat_id=message.chat.id,
action="upload_document")

=========================

👉 Choosing A Sticker

bot.sendChatAction(
chat_id=message.chat.id,
action="choose_sticker")

=========================

👉 Sending A Location

bot.sendChatAction(
chat_id=message.chat.id,
action="find_location")

=========================

👉 Recording A Voice Note

bot.sendChatAction(
chat_id=message.chat.id,
action="record_video_note")

=========================

👉 Sending Voice Note

bot.sendChatAction(
chat_id=message.chat.id,
action="upload_video_note")

⚡️Official Channel : @flashcomofficial

⚡️Error & Support :
@flashcomofficialchat
👍4
📌 How To Make Image Captcha Verification

🚀 Command:
/start

🛠 TPY Code:
captcha = libs.Random.randomStr(4,"1234567890")
bot.replyPhoto(u, photo=f"https://api.codinary.org/v1/imageCaptcha/?text={captcha}",
caption="❇️ *Enter This Text To Verify Yourself*", parse_mode="markdown")
User.saveData("captcha", captcha)
Bot.handleNextCommand("/verify")

🚀 Command: /verify

🛠 TPY Code:
captcha = User.getData("captcha")

if str(captcha) != str(message.text):
bot.sendMessage("<b> Wrong Captcha, Try Again!</b>", parse_mode="html")
Bot.runCommand("/start")
else:
bot.replyText(
chat_id=u,
text=f"""<b> You are Verified</b>""",
parse_mode="html",)
#Other Command When User Verified Captcha

⚡️Official Channel : @flashcomofficial

⚡️Error & Support :
@flashcomofficialchat
👍1
Forwarded from GetMart Official Channel (FlashCom Owner)
🔥 𝐈𝐍𝐓𝐑𝐎𝐃𝐔𝐂𝐈𝐍𝐆 𝐐𝐈𝐑𝐀 🔥

⍟ Qira is a Bot Which Helps Your Group Members Using Some Special Tools & Keep Your Groups Members From Board !

𝔽𝕖𝕒𝕥𝕦𝕣𝕖𝕤 𝕠𝕗 ℚ𝕚𝕣𝕒

✬ Can Send Inline Whisper Message to Users Even if the bot is not added.
✬ Shortening Long URL to Smaller URL.
✬ Generate Facts.
✬ Upload Files & Get Direct Telegram Shareable Link to Download Your Files. ( No Link Expiration ! )
✬  Find App Details by Giving PlayStore Link.
✬ Convert Text to Speech ( TTS )

Qira is the best bot which helps your group members with special tools and this will make your group members easier and also in future many features may come.
⍟ This Channel Helps You to Notify Updates of Qira.

↪️ Qira Updates

💎 Click Here to Get Qira Updates 💎


Clone Your Own Bot With @QiraBot

💎 Click Here to use Qira Bot 💎
Forwarded from Cubex Movie
🔥INTRODUCING TEXT TO SPEECH ( TTS ) BOT🔥

✪ This bot can convert your text to speech for free and unlimited count !

🏹 This bot has extracted Files feature from @QiraBot - You can use this bot with this tools and more !

Use @TtsFreeBot Now !
📌 Report Admins

🚀 Cmd /report

🛠 Tpy-

ask = User.getData("ask")
markup = InlineKeyboardMarkup()
but1 = InlineKeyboardButton(
text='Write Me',
callback_data='Ask'
)
markup.add(but1)

if ask is not None:
bot.replyText(chat_id=u, text="📫 Last Question " + ask, reply_markup=markup)
else:
bot.replyText(chat_id=u, text="📫 Last Question is not available", reply_markup=markup)



🚀 Cmd - Ask

🛠 Tpy -

bot.sendMessage("_
💬 How Can I Help You ?
")
Bot.handleNextCommand("ask")



🚀 Cmd - ask

🛠 Tpy-

ask = User.getData("ask")
admin = "your telegram id"
username = message.from_user.username
idd = message.chat.id
iddd = str(idd)
User.saveData("ask", message.text)
bot.replyText(chat_id=admin, text="*📩 New Support Message From* " +
username+"\n🤴🏻 Uset Link: [User](tg://user?id="+iddd+")\n\n💌 Message: "+message.text+"", parse_mode="Markdown")
bot.sendMessage("📩 Message Sent To Admin As = "+message.text+"")




⚡️Official Channel : @flashcomofficial

⚡️Error & Support :
@flashcomofficialchat
🥱21👍1
Please Ensure Explore Your Ideas Now !

🛠 Just Comment Us Down What Codes & Bots You Need Just Give us an Idea !


Join @flashcomofficialchat and Ask What Tpy Code You need ?

Thank You, FlashCom Owner


#FlashExplore
👍3