BotVerse by Ravi
153 subscribers
32 photos
4 videos
4 files
63 links
Explore the BotVerse! Updates, insights, and creations from Ravi's world of bots.

Support Chat: @BotVerseRaviSupport
Support Bot: @BotVerseRavi_bot

t.me/boost/BotVerseRavi
Download Telegram
ULTAHOST SINGAPORE

Domain singapore-ultahost.kcartik-vps.com
User kcartik
Pass kcartik
Port = 80

Payload GET / HTTP/1.1[crlf]Host: [host][crlf]Upgrade: websocket[crlf][crlf]
โค1๐Ÿ‘1๐Ÿ”ฅ1๐Ÿฅฐ1๐Ÿคฉ1
VPS SSH

Domain usa-jhantu-vps.b-rand.black
User kcartik
Pass kcartik
Port = 80
๐Ÿ”ฅ2โค1๐Ÿค1
๐Ÿง‘โ€๐Ÿ”ฌ Automatic Filtered Replies in Groups [BJS]


โ” Bot replies to user with a specific pre defined replies on triggering a preset filter

Part 1


Command: /setfilter

// Posted by @BotVerseRavi on Telegram

if (!['group', 'supergroup'].includes(chat?.chat_type)) return Bot.sendMessage('Command to be used in groups or channels only');

function sendMsg(text, id) {
Api.sendMessage({ text, reply_to_message_id: id, parse_mode: 'html' });
}

if (!options) {
if (!params && !request.reply_to_message || !params) return sendMsg(
"Use one of the following formats:\n<code>/setfilter &lt;word&gt; | &lt;reply&gt;</code>\n" +
"<code>/setfilter &lt;word&gt;</code> (while replying to a message)",
request.message_id
);
request.text = params;
Bot.setProp(user.telegramid + "data", request, 'json');
return Api.getChatAdministrators({
chat_id: request.chat.id,
on_result: '/setfilter ' + user.telegramid,
});
}

if (options && !options.ok) return;

let [userId, u] = [params, Bot.getProp(params + 'data')];
let isAdmin = options.result.some(admin => ['creator', 'administrator'].includes(admin.status) && admin.user.id == userId);

if (!isAdmin) {
Bot.deleteProp(params + 'data');
return sendMsg("Only admins can set filters!", u.message_id);
}

var [word, replyMessage] = u.text && u.text.includes('|')
? u.text.split(/\s*\|\s*/) : [u.text, u.reply_to_message?.text || u.reply_to_message?.caption];

if (!word || !replyMessage) return sendMsg("Invalid Input! Use case:\n<code>/setfilter &lt;word&gt; | &lt;reply&gt;</code>\n" +
"<code>/setfilter &lt;word&gt;</code> (while replying to a message)", u.message_id);

word = word?.trim().toLowerCase();
var filters = Bot.getProperty(`filters_${u.chat.id}`) || [];
let existingIndex = filters.findIndex(filter => filter.word === word);

existingIndex !== -1
? filters[existingIndex] = { word: word, reply: replyMessage, action: 'reply' }
: filters.push({ word: word, reply: replyMessage, action: 'reply' });

Bot.setProperty(`filters_${u.chat.id}`, filters, 'json');
Bot.deleteProp(userId + 'data');
sendMsg(`Filter set: "<b>${word}</b>" => "<i>${replyMessage}</i>"`, u.message_id);


Command: *

(Master Command)
// Posted by @BotVerseRavi on Telegram

var filters = Bot.getProperty(`filters_${request.chat.id}`) || [];
if (filters.length === 0) return;

var msg = request.text || request.caption;
for (let filter of filters) {
if (msg.toLowerCase().includes(filter.word.toLowerCase())) {
let action = filter.action === 'delete' ? "deleteMessage" : "sendMessage"
Api[action]({
chat_id: request.chat.id, message_id: request.message_id,
text: filter.reply, parse_mode: 'html',
reply_to_message_id: request.message_id,
})
break;
}
}


Usecases:

/setfilter <word> | <reply>
/setfilter <word> (while replying to a message)

โ„น๏ธ Only supports Text Replies

๐Ÿง‘โ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Love anime? Share this channel with your friends and remember to give credit if you use it on your channel!
๐Ÿ”ฅ5๐Ÿ‘Œ1
FREE VPS


IP Address: 194.238.19.9
Username: root
Root Password: .3Ty7VgQqtw3fHai)Itp


By @BotVerseRavi
โค1๐Ÿ‘1๐Ÿ”ฅ1๐Ÿค1
๐Ÿง‘โ€๐Ÿ”ฌ Automatic Filtered Replies in Groups [BJS]


Part 2



Command: /filters

// Posted by @BotVerseRavi on Telegram

if (!['group', 'supergroup'].includes(chat?.chat_type)) {
return Bot.sendMessage('Command can only be used in groups.');
}

let filters = Bot.getProperty(`filters_${request.chat.id}`) || [];
let nonAggressiveFilters = filters.filter(f => f.action !== 'delete');
let aggressiveFilters = filters.filter(f => f.action === 'delete');

if (!filters.length) return Bot.sendMessage("No filters set in this group.", { is_reply: true });

let filterList = nonAggressiveFilters.map((f, i) => `<b>${i + 1}.</b> <b>${f.word}</b> - <i>${f.reply}</i>`).join('\n');
let aggressiveFilterCount = aggressiveFilters.length ? `\n\nAggressive Filters: <b>${aggressiveFilterCount}</b>` : '';

Api.sendMessage({
text: `Total filters: <b>${filters.length}</b>\n\n${filterList}${aggressiveFilterCount}`,
reply_to_message_id: request.message_id,
parse_mode: 'html'
});


Command: /deletefilter

// Posted by @BotVerseRavi on Telegram

if (!['group', 'supergroup'].includes(chat?.chat_type)) return Bot.sendMessage('Command to be used in groups or channels only');

function sendMsg(text, id){
Api.sendMessage({ text, reply_to_message_id: id, parse_mode: 'html' });
}

if (!options) {
if (!params) return sendMsg("Please specify the word to remove.\n<code>/deletefilter &lt;word&gt;</code>", request.message_id);
return Api.getChatAdministrators({
chat_id: request.chat.id,
on_result: `/deletefilter ${params}&${user.telegramid}&${request.chat.id}&${request.message_id}`,
});
}
if (options && !options.ok) return;

let [word, userId, chatId, msgId] = params.split('&');
let isAdmin = options.result.some(admin => admin.user.id == userId && ['creator', 'administrator'].includes(admin.status));

if (!isAdmin || !word) return sendMsg(!word ? "Please provide a word to delete." : "Only admins can delete filters!", msgId);

let filters = Bot.getProperty(`filters_${chatId}`) || [];
let filterIndex = filters.findIndex(filter => filter.word === word.toLowerCase());

if (filterIndex === -1) return sendMsg(`No filter found for "<b>${word}</b>".`, msgId);

filters.length === 1 ? Bot.deleteProp(`filters_${chatId}`) : Bot.setProperty(`filters_${chatId}`, filters.filter((_, index) => index !== filterIndex), 'json');
sendMsg(`Filter "<b>${word}</b>" has been removed.`, msgId);


Command: /clearfilters
// Posted by @BotVerseRavi on Telegram

if (!['group', 'supergroup'].includes(chat?.chat_type)) return Bot.sendMessage('Command to be used in groups or channels only');

function sendMsg(text, id) {
Api.sendMessage({ text, reply_to_message_id: id, parse_mode: 'html' });
}

if (!options) {
return Api.getChatAdministrators({
chat_id: request.chat.id,
on_result: `/clearfilters ${user.telegramid}&${request.chat.id}&${request.message_id}`,
});
}

if (!options.ok) return;

let [userId, chatId, messageId] = params.split("&");

if (!options.result.some(admin => admin.user.id == userId && ['creator', 'administrator'].includes(admin.status))) {
return sendMsg("Only admins can clear filters!", messageId);
}

if (!Bot.getProperty(`filters_${chatId}`)) {
return sendMsg("No filters to clear in this group.", messageId);
}

Bot.deleteProp(`filters_${chatId}`);
sendMsg("All filters have been cleared.", messageId);


Usecases:

/filters - Lists all regular filters of group
/deletefilter <word> - deletes a filter
/clearfilters - Clears all filters of group at once

โ„น๏ธ Only supports Text Replies

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค5๐Ÿ˜1
๐Ÿง‘โ€๐Ÿ”ฌ Automatic Filtered Replies in Groups [BJS]


Part 3


Command: /aggressivefilter


// Posted by @BotVerseRavi on Telegram

if (!['group', 'supergroup'].includes(chat?.chat_type))
return Bot.sendMessage('Command to be used in groups or channels only');

if (!options) {
if (!params) return Bot.sendMessage("Please specify the word to add as an aggressive filter.\n<code>/aggressivefilter &lt;word&gt;</code>", request.message_id);
return Api.getChatAdministrators({
chat_id: request.chat.id,
on_result: `/aggressivefilter ${user.telegramid}&${request.chat.id}&${params?.trim()}&${request.message_id}`
});
}

if (!options.ok) return;
let [userId, chatId, word, msgId] = params.split("&");

if (!options.result.some(admin => admin.user.id == userId && ['creator', 'administrator'].includes(admin.status))) {
return Bot.sendMessage("Only admins can set aggressive filters!", { is_reply: true });
}

if (!word) return Bot.sendMessage("Please specify a valid word for the aggressive filter.", { is_reply: true });

word = word.toLowerCase();
let filters = Bot.getProperty(`filters_${chatId}`) || [];
let existingIndex = filters.findIndex(filter => filter.word === word);
existingIndex !== -1
? filters[existingIndex].action = 'delete'
: filters.push({ word: word, action: 'delete' });

Bot.setProperty(`filters_${chatId}`, filters, 'json');
Bot.deleteMessage({chat_id: chatId, message_id: msgId})
Api.sendMessage({
text: `Aggressive filter set: "<b>${word}</b>" (Messages containing this word will be deleted)`,
parse_mode: 'html'
});

Command: /modfilters


// Posted by @BotVerseRavi on Telegram

if (!['group', 'supergroup'].includes(chat?.chat_type))
return Bot.sendMessage('Command only for groups.');

if (!options) return Api.getChatAdministrators({
chat_id: request.chat.id,
on_result: `/modfilters ${user.telegramid}&${request.chat.id}&${request.message_id}`
});

if (!options.ok) return;

let [userId, chatId, msgId] = params.split("&");

if (!options.result.some(a => a.user.id == userId && ['creator', 'administrator'].includes(a.status)))
return Bot.sendMessage("Only admins can view aggressive filters!", { is_reply: true });

let aggressiveFilters = (Bot.getProperty(`filters_${chatId}`) || []).filter(f => f.action === 'delete');
if (!aggressiveFilters.length)
return Bot.sendMessage("No aggressive filters set.", { is_reply: true });

Api.sendMessage({
text: aggressiveFilters.map((f, i) => `<b>${i + 1}.</b> <b>${f.word}</b>`).join('\n'),
reply_to_message_id: msgId,
parse_mode: 'html'
});


Usecase:

/aggressivefilter <word> - Deletes message with on triggering keyword
/modfilters - List of all Aggressive filters (admins only)

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค3๐Ÿ‘1
โค๏ธ Here is the Surprise Update


๐Ÿค” Whatโ€™s Aggressive Filter?
โ–ถ It deletes any message which triggers with any defined keyword by admins. Itโ€™s just like blacklisting any word.

Usage of Filter Commands:

/setfilter <word> | <reply>
/setfilter <word>
(while replying to a message)
/aggressivefilter <word> - Deletes Message on trigger with the keyword
/deletefilter <word> - Remove a filter
/filters - List of Regular filters visible to everyone
/modfilters - List of Aggressive filters visible to admins only
/clearfilters - Clears all filters of chat at once

Show some support ๐Ÿฉถ @BotVerseRavi



BJS Codes are available here:


1โƒฃ Part 1
2โƒฃ Part 2
3โƒฃ Part 3
โค4๐Ÿ‘Œ2
๐Ÿ”— Create Invite Link with Expiration time [BJS]


Command: /createInviteLink

// Posted by @BotVerseRavi on Telegram 

let memberLimit = 10;
let expirationSeconds = 3600; //expiration time in seconds

if (!options) {
Api.createChatInviteLink({
chat_id: request.chat?.id,
name: "My Custom Invite Link",
expire_date: Math.floor(Date.now() / 1000) + expirationSeconds,
member_limit: memberLimit,
// creates_join_request: true
// Do not pass member_limit if creates_join_request is true
on_result: '/createInviteLink',
});
return;
}

let message = `Invite Link: ${options.result.invite_link}\n` +
`Link Name: ${options.result.name}\n` +
`Expires: ${new Date(options.result.expire_date * 1000).toLocaleString()}`;

if (options.result.creates_join_request) message += "\nJoin Request Required: Yes";
if (options.result.member_limit) message += `\nMember Limit: ${options.result.member_limit}`;

Api.sendMessage({ text: message })


โ€ผ๏ธ Important:

Do not pass member_limit parameter if creates_join_request is true, else you will get error.
โ„น๏ธ Bot must be admin with can_invite_users permission.

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค1๐Ÿ”ฅ1๐Ÿฅฐ1๐Ÿ‘1๐Ÿค—1
๐Ÿ”— Copy to Clipboard via Inline Keyboard Button [BJS]


โœˆ๏ธ now supports copying text from inline keyboard buttons of upto 256 characters

This is how:
// Posted by @BotVerseRavi on Telegram

Api.sendMessage({
text: "Copy message from Below Button ๐Ÿ‘‡",
reply_markup: {
inline_keyboard: [
[{ text: "Copy to Clipboard", copy_text: { text: "Hi there!" } }]
]
}
})


๐Ÿ”ง Just add a copy_text field instead of url or callback_data in the inline_keyboard field

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
๐Ÿ”ฅ2โค1๐Ÿ‘1๐Ÿฅฐ1๐ŸŽ‰1๐Ÿค1
This media is not supported in your browser
VIEW IN TELEGRAM
โœ๏ธ Add Media to Text Message [BJS]


โœˆ๏ธ You can now even add a Media to a Text Message Previously Sent


Command: Your Command

// Posted by @BotVerseRavi on Telegram

Api.sendMessage({
text: 'Adding a Media to Message',
on_result: '/addMedia'
});


Command: /addMedia

// Posted by @BotVerseRavi on Telegram

Api.editMessageMedia({
chat_id: options.result.chat.id,
message_id: options.result.message_id,
media: {
type: "photo",
media: "Photo url here",
caption: "Added a Media to Message"
}
})


โ„น๏ธ You can add all type of Media while editing and also can add multiple media(upto 10).

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
๐Ÿฅฐ2๐Ÿคฉ2โค1๐Ÿ”ฅ1
๐Ÿค– Image To Sticker ๐Ÿ‘ฅ [TPY]


Command :  *


# Posted by @BotVerseRavi on Telegram.

if message.text == "/start":
bot.sendMessage(
chat_id=message.chat.id,
text="๐ŸŽ‰ <b>Welcome!</b>\n\nSend me any photo, and I'll convert it into a Telegram sticker.\n\n๐Ÿ–ผ๏ธ <i>Tip: Square images look best as stickers.</i>",
parse_mode="HTML"
)

elif message.text == "/help":
bot.sendMessage(
chat_id=message.chat.id,
text="๐Ÿ“Œ <b>How to Use</b>\n\n1. Just send a photo.\n2. Iโ€™ll turn it into a sticker instantly.\n\n๐Ÿšซ No need to crop or edit yourself.",
parse_mode="HTML"
)

elif message.photo:
bot.sendMessage(chat_id=message.chat.id, text="โณ Creating sticker...")

try:
# Get highest-quality image
file_id = message.photo[-1].file_id
file_info = bot.getFile(file_id)
file_url = f"https://api.telegram.org/file/bot{Bot.info().token}/{file_info.file_path}"

# Download image
response = HTTP.get(file_url)
if response.status_code != 200:
bot.sendMessage(chat_id=message.chat.id, text="โŒ Couldn't download image.")
raise ReturnCommand()

# Send as sticker
bot.sendSticker(chat_id=message.chat.id, sticker=response.content)

except Exception:
bot.sendMessage(
chat_id=message.chat.id,
text="โŒ Failed to convert image. Please try a different photo (less than 512 KB)."
)

elif message.text and not message.text.startswith("/"):
bot.sendMessage(
chat_id=message.chat.id,
text="๐Ÿ“ท Please send an image. I will convert it into a sticker."
)

else:
bot.sendMessage(
chat_id=message.chat.id,
text="๐Ÿšซ Unsupported file type. Send a photo to get started."
)

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค1๐Ÿ”ฅ1๐Ÿฅฐ1๐Ÿ†1
Full complete python script with feature:


โ˜‘๏ธ Stream Response
โ˜‘๏ธ System Prompt
โ˜‘๏ธ Memory Store


pip install httpx


# Posted by @BotVerseRavi on Telegram.

import httpx
import json

API_KEY = "<OPENROUTER_API_KEY>"
MODEL = "deepseek/deepseek-chat-v3-0324:free"
BASE_URL = "https://openrouter.ai/api/v1/chat/completions"
HEADERS = {
"Authorization": f"Bearer {API_KEY}",
"Content-Type": "application/json",
"HTTP-Referer": "<YOUR_SITE_URL>", # Optional
"X-Title": "<YOUR_SITE_NAME>", # Optional
}

# Conversation history (memory simulation)
conversation = [
{"role": "system", "content": "You are a helpful assistant."}
]

def chat_with_assistant(user_input):
# Append user's message to the conversation
conversation.append({"role": "user", "content": user_input})

# Prepare the payload
payload = {
"model": MODEL,
"messages": conversation,
"stream": True
}

# Make streaming request
with httpx.stream("POST", BASE_URL, headers=HEADERS, json=payload, timeout=None) as response:
print("Assistant:", end=" ", flush=True)
full_reply = ""
for line in response.iter_lines():
if line:
if line.startswith(b"data: "):
data_str = line[6:]
if data_str.strip() == b"[DONE]":
break
try:
data = json.loads(data_str)
delta = data['choices'][0]['delta'].get('content', '')
print(delta, end="", flush=True)
full_reply += delta
except Exception as e:
continue

# Append assistant's reply to memory
conversation.append({"role": "assistant", "content": full_reply})
print("\n") # New line after assistant reply

# Main loop
if __name__ == "__main__":
print("Start chatting with the assistant (type 'exit' to quit):")
while True:
user_message = input("You: ")
if user_message.lower() == "exit":
break
chat_with_assistant(user_message)


๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


1๏ธโƒฃ Install the httpx library.
2๏ธโƒฃ Obtain the Open Router API key.

๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค2๐Ÿ”ฅ1๐Ÿฅฐ1๐Ÿคฉ1๐Ÿค1
๐ŸŽ Text to speech python full source code!


๐Ÿ‰ How to Use
Save the file as main.py


๐Ÿ”ฐ Install required packages:
pip install fastapi edge-tts uvicorn

๐Ÿ‘Š Run the server:
python main.py


Test the API:

Get available voices:

http://localhost:8000/voices

๐Ÿ•ง Generate speech (open in browser or use curl):
http://localhost:8000/tts?text=Hello%20World&voice=en-US-JennyNeural

๐Ÿค” Convert text to speech with parameters:
text: Your input text (required)

voice: Voice to use (default: en-US-GuyNeural)

rate: Speaking rate adjustment (+/-XX%)

volume: Volume adjustment (+/-XX%)

pitch: Pitch adjustment (+/-XXHz)


๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi



๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค2๐Ÿ”ฅ1๐Ÿ‘1๐Ÿคฉ1๐Ÿค1
๐Ÿšจ Urgent: Stand Against Racism! ๐Ÿšจ


Namaste,

@PajeetLaborCamp was created to spread hate and target Indian people and our religions. We are NOT victimsโ€”weโ€™re a strong, united community that stands up for respect and dignity! ๐Ÿ‡ฎ๐Ÿ‡ณ

Hereโ€™s what you can do:

โฆ Manually report as many posts as possible from @PajeetLaborCamp.
โฆ Use @SearchReport bot: Submit โ†’ @PajeetLaborCamp.
โฆ Try every reporting method to help get this channel banned!

Forward this message to your channels and groups to spread the word.

Comment "Jai Hind" if youโ€™ve taken action! ๐Ÿ’ช 

Letโ€™s show them we wonโ€™t tolerate hateโ€”are you with me?
โค3๐Ÿ”ฅ3๐Ÿ‘1
Thanks to those who understand their duties towards this nation. ๐Ÿ‡ฎ๐Ÿ‡ณ

Jai Hind! ๐Ÿซก
โค5๐Ÿคฉ1
Once we reach 100 subscribers we'll start posting awesome codes again...

Thank you guys! ๐Ÿ™‚
โค3๐Ÿ”ฅ1๐Ÿ‘Œ1
๐Ÿ˜Ž CHANNEL AUTO REACTION [BJS]


โœ… Command: *

// Posted by @BotVerseRavi on Telegram

var request2 =JSON.parse(request)

if(request2.channel_post){
var msgid = request2.channel_post.message_id
var ch = request2.channel_post.sender_chat.id

var myEmoji = ["๐Ÿ‘", "๐Ÿ‘Ž", "โค", "๐Ÿ”ฅ", "๐Ÿฅฐ", "๐Ÿ‘", "๐Ÿ˜", "๐Ÿค”", "๐Ÿคฏ", "๐Ÿ˜ฑ", "๐Ÿคฌ", "๐Ÿ˜ข", "๐ŸŽ‰", "๐Ÿคฉ", "๐Ÿคฎ", "๐Ÿ’ฉ", "๐Ÿ™", "๐Ÿ‘Œ", "๐Ÿ•Š", "๐Ÿคก", "๐Ÿฅฑ", "๐Ÿฅด", "๐Ÿ˜", "๐Ÿณ", "โคโ€๐Ÿ”ฅ", "๐ŸŒš", "๐ŸŒญ", "๐Ÿ’ฏ", "๐Ÿคฃ", "โšก", "๐ŸŒ", "๐Ÿ†", "๐Ÿ’”", "๐Ÿคจ", "๐Ÿ˜", "๐Ÿ“", "๐Ÿพ", "๐Ÿ’‹", "๐Ÿ–•", "๐Ÿ˜ˆ", "๐Ÿ˜ด", "๐Ÿ˜ญ", "๐Ÿค“", "๐Ÿ‘ป", "๐Ÿ‘จโ€๐Ÿ’ป", "๐Ÿ‘€", "๐ŸŽƒ", "๐Ÿ™ˆ", "๐Ÿ˜‡", "๐Ÿ˜จ", "๐Ÿค", "โœ", "๐Ÿค—", "๐Ÿซก", "๐ŸŽ…", "๐ŸŽ„", "โ˜ƒ", "๐Ÿ’…", "๐Ÿคช", "๐Ÿ—ฟ", "๐Ÿ†’", "๐Ÿ’˜", "๐Ÿ™‰", "๐Ÿฆ„", "๐Ÿ˜˜", "๐Ÿ’Š", "๐Ÿ™Š", "๐Ÿ˜Ž", "๐Ÿ‘พ", "๐Ÿคทโ€โ™‚", "๐Ÿคท", "๐Ÿคทโ€โ™€", "๐Ÿ˜ก"]

var doEmoji = myEmoji[Math.floor(Math.random() * myEmoji.length)];

HTTP.post({
url: "https://api.telegram.org/bot" + bot.token + "/setMessageReaction",
body: {
chat_id: ch,
message_id: msgid,
reaction: JSON.stringify([
{
type: "emoji",
emoji: doEmoji,
is_big: true
}
])
}
});

}


๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi



๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
๐Ÿ‘2โค1๐Ÿ”ฅ1๐Ÿคฉ1
Gแด‡แด› Rแด€ษดแด…แดแด Wษชษดษดแด‡ส€ ๐Ÿ† Iษด Yแดแดœส€ Cสœแด€ษดษดแด‡สŸ Wสœแด Pแด€ส€แด›ษชแด„ษชแด˜แด€แด›แด‡แด… Iษด Gษชแด แด‡แด€แดกแด€ส ๐Ÿ”ฅ
-----------------Cแดแด…แด‡s--------------------

[TBC]


Command : /start

#Posted by @BotVerseRavi pm Telegram.

broadcast = Bot.getData("broadcast")
if broadcast == None:
push = []
else:
push = broadcast

check_user = push.count(u)
if check_user > 0:
try:
bot.answerCallbackQuery(call.id,"You have already participated!",show_alert=True)
except:
bot.sendMessage("You have already participated!")
raise ReturnCommand
else:
push.append(u)
Bot.saveData("broadcast", push)
try:
bot.answerCallbackQuery(call.id,"You have participated successfully!",show_alert=True)
except:
bot.replyText(u, "You have participated successfully!")

markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton(text="Participate",callback_data="/start"))
Broadcast = Bot.getData("broadcast")
Promo = "Join ๐Ÿ‘‰ <a href='https://t.me/BotVerseRavi'>BotVerse by Ravi</a>"
Prize = "2 TRX"
Winners = "1"
Already = Bot.getData("Already")
if Already == None:
msg = bot.sendMessage(chat_id="@channel_isd",text=f"""๐ŸŽ‰ GIVEAWAY ๐ŸŽ‰ ๐Ÿ‘ฅ{len(Broadcast)}

โ€ข Prize: {Prize}
โ€ข Winners: {Winners}
โ€ข Ending: 2 Days

{Promo}""",disable_web_page_preview=True,reply_markup=markup)
Bot.runCommandAfter(timeout=86400,command="completed", options=msg.message_id)
Bot.saveData("Already",True)
else:
bot.editMessageText(chat_id="@channel_ids",message_id=message.message_id,text=f"""๐ŸŽ‰ GIVEAWAY ๐ŸŽ‰ ๐Ÿ‘ฅ{len(Broadcast)}

โ€ข Prize: {Prize}
โ€ข Winners: {Winners}
โ€ข Ending: 2 Days

{Promo}""",disable_web_page_preview=True,reply_markup=markup)

Command : completed

# Posted by @BotVerseRavi on Telegram.

Bot.runCommandAfter(timeout=86400,command="completed2", options=options)

Command: completed2

# Posted by @BotVerseRavi on Telegram.

broadcast = Bot.getData("broadcast")
random = libs.Random.randomInt(0, len(broadcast)-1)
winner = broadcast[random]
chat = bot.getChat(winner)
bot.editMessageText(chat_id="@channel_idS", message_id=options,text=f"๐Ÿ† <b>Winner Found\n\n๐Ÿ‘ค User: {chat.first_name}\n๐Ÿ†” Telegram ID: {winner}</b>")

๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป Posted by @BotVerseRavi


๐Ÿ“ข Share this channel with your friends and remember to give credit if you use it on your channel!
โค1๐Ÿ”ฅ1๐Ÿฅฐ1๐Ÿคฉ1๐Ÿ‘Œ1