NEP DEVS
Открыть в Telegram
NEPS DEV WHO WANT TO HELP YOU WITH FOSS PROJECT. WE COLLECT SCRIPTS THIS GROUP IS ONLY FOR EDUCATIONAL PURPOSE
БольшеНет данных
Подписчики
-3724 часа
-1357 дней
-23530 дней
Архив постов
RANDOM ANIME PIC GENERATOR IN MAIN CHANNEL:
PYTHON CODE
import telebot
from telebot import types
import requests
import time
# MADE BY NEP DEVS @DEVSNP
API_TOKEN = ''
bot = telebot.TeleBot(API_TOKEN)
# MADE BY NEP DEVS @DEVSNP
@bot.message_handler(commands=['start'])
def start(message):
markup = types.InlineKeyboardMarkup()
markup.add(types.InlineKeyboardButton(text='🔎 Generate Random Anime', callback_data='generate_random_anime'))
# MADE BY NEP DEVS @DEVSNP
api_response = requests.get("https://animepic.apinepdev.workers.dev/?join=@DEVSNP").json()
img_url = api_response['url']
caption_text = "🧑💻 Developer: @Prime_Nepcoder"
bot.send_photo(chat_id='@DEVSNP', photo=img_url, caption=caption_text, reply_markup=markup)
# MADE BY NEP DEVS @DEVSNP
@bot.callback_query_handler(func=lambda call: True)
def callback_query(call):
if call.data == 'generate_random_anime':
markup = types.InlineKeyboardMarkup()
markup.add(types.InlineKeyboardButton(text='🔎 Generate Random Anime', callback_data='generate_random_anime'))
# MADE BY NEP DEVS @DEVSNP
api_response = requests.get("https://animepic.apinepdev.workers.dev/?join=@DEVSNP").json()
img_url = api_response['url']
media = types.InputMediaPhoto(media=img_url)
caption_text = "🧑💻 Developer: @Prime_Nepcoder"
time.sleep(2) # MADE BY NEP DEVS @DEVSNP
# MADE BY NEP DEVS @DEVSNP
try:
bot.edit_message_media(chat_id=call.message.chat.id, media=media, message_id=call.message.message_id, reply_markup=markup)
bot.edit_message_caption(chat_id=call.message.chat.id, caption=caption_text, message_id=call.message.message_id, reply_markup=markup)
except telebot.apihelper.ApiTelegramException as e:
print(f"Telegram API Error: {e}")
bot.polling()
1. Setup: 🌐 Host the script in Termux, Replit, or Heroku.
2. Token: 🔑 Get your Bot API Token from BotFather on Telegram.
3. Admin Rights: 👨💼 Ensure the bot is an admin in your target channel.
4. Start: 🚀 Insert the Bot API Token, run the script, and begin the bot.
5. Usage & Copyright: 🖼️ In your channel, use /start to trigger the bot. Developed by NEP CODER @DEVSNP. Copyright ©️:@DEVSNP.RANDOM ANIME PIC GENERATOR IN MAIN CHANNEL:
PYTHON CODE
import telebot
from telebot import types
import requests
import time
# MADE BY NEP DEVS @DEVSNP
API_TOKEN = ''
bot = telebot.TeleBot(API_TOKEN)
# MADE BY NEP DEVS @DEVSNP
@bot.message_handler(commands=['start'])
def start(message):
markup = types.InlineKeyboardMarkup()
markup.add(types.InlineKeyboardButton(text='🔎 Generate Random Anime', callback_data='generate_random_anime'))
# MADE BY NEP DEVS @DEVSNP
api_response = requests.get("https://animepic.apinepdev.workers.dev/?join=@DEVSNP").json()
img_url = api_response['url']
caption_text = "🧑💻 Developer: @Prime_Nepcoder"
bot.send_photo(chat_id='@DEVSNP', photo=img_url, caption=caption_text, reply_markup=markup)
# MADE BY NEP DEVS @DEVSNP
@bot.callback_query_handler(func=lambda call: True)
def callback_query(call):
if call.data == 'generate_random_anime':
markup = types.InlineKeyboardMarkup()
markup.add(types.InlineKeyboardButton(text='🔎 Generate Random Anime', callback_data='generate_random_anime'))
# MADE BY NEP DEVS @DEVSNP
api_response = requests.get("https://animepic.apinepdev.workers.dev/?join=@DEVSNP").json()
img_url = api_response['url']
media = types.InputMediaPhoto(media=img_url)
caption_text = "🧑💻 Developer: @Prime_Nepcoder"
time.sleep(2) # MADE BY NEP DEVS @DEVSNP
# MADE BY NEP DEVS @DEVSNP
try:
bot.edit_message_media(chat_id=call.message.chat.id, media=media, message_id=call.message.message_id, reply_markup=markup)
bot.edit_message_caption(chat_id=call.message.chat.id, caption=caption_text, message_id=call.message.message_id, reply_markup=markup)
except telebot.apihelper.ApiTelegramException as e:
print(f"Telegram API Error: {e}")
bot.polling()
1. Setup: 🌐 Host the script in Termux, Replit, or Heroku.
2. Token: 🔑 Get your Bot API Token from BotFather on Telegram.
3. Admin Rights: 👨💼 Ensure the bot is an admin in your target channel.
4. Start: 🚀 Insert the Bot API Token, run the script, and begin the bot.
5. Usage & Copyright: 🖼️ In your channel, use /start to trigger the bot. Developed by NEP CODER @DEVSNP. Copyright ©️:@DEVSNP.Note Maker Bjs:
✨ 𝘾𝙤𝙢𝙢𝙖𝙣𝙙: /note
Answer:- *Enter a Text to Convert to Notes!*
wait For Answer: on
🌀 𝘽𝙟𝙨:
Api.sendPhoto({
photo: "https://notes.apinepdev.workers.dev/?text=" + encodeURIComponent(message),
caption: "*📔 Here Is Your Notes!!\n\n💫 Generated by @" + bot.name + "*", // You Can Customized This Aslo
parse_mode: "markdown"
})
Dev : NEP CODER @DEVSNP
Published By : @DEVSNP
Copyright ©️:@DEVSNPText To Speech Generator Bjs:
✨ 𝘾𝙤𝙢𝙢𝙖𝙣𝙙: /tts
🌀 𝘽𝙟𝙨:
Api.sendAudio({
audio:"https://texttospeech.apinepdev.workers.dev/?lang=en&text="+message,
caption:"* Here is your Speech!!\n\n💫Generated by @"+bot.name+"*",
parse_mode:"markdown"
})
🌼 𝘾𝙤𝙢𝙢𝙖𝙣𝙙: /ttshindi
🌀 𝘽𝙟𝙨:
Api.sendAudio({
audio:"https://texttospeech.apinepdev.workers.dev/?lang=hi&text="+message,
caption:"* Here is your Speech!!\n\n💫Generated by @"+bot.name+"*",
parse_mode:"markdown"
})
Dev : NEP CODER @DEVSNP
Published By : @DEVSNP
Copyright ©️:@DEVSNPMeme Pic Generator:
✨ 𝘾𝙤𝙢𝙢𝙖𝙣𝙙: /animepic
🌀 𝘽𝙟𝙨:
HTTP.get({
url: "https://nepcoder.apinepdev.workers.dev/random-meme", success: "/resmem"})
🌼 𝘾𝙤𝙢𝙢𝙖𝙣𝙙: /resmem
🌀 𝘽𝙟𝙨:
var meme = JSON.parse(content).url;
var caption = "Meme Generate By @BOT NAME💫 "; // Replace this with your desired caption
Api.sendPhoto({
photo: meme,
caption: caption,
parse_mode: "Markdown"
});
Dev : NEP CODER @DEVSNP
Published By : @DEVSNP
Copyright ©️:@DEVSNP