
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Note: This is not pyTelegramBotAPI <https://github.com/eternnoir/pyTelegramBotAPI>
, but do to often confusion I have included
it within this package. So if you accidentally install this instead of pyTelegramBotAPI <https://github.com/eternnoir/pyTelegramBotAPI>
the examples, etc will still work.
This originally was telegram bot library, with simple route decorators, and will now
be imported as telebot_router, to separate pyTelegramBotAPI <https://github.com/eternnoir/pyTelegramBotAPI>
_ and this package from
collision.
Currently a work in progress, doesn't do much now, but will register and send messages.
Example Setup ^^^^^^^^^^^^^ ::
from telebot_router import TeleBot
app = TeleBot(name)
@app.route('/command ?(.*)') def example_command(message, cmd): chat_dest = message['chat']['id'] msg = "Command Recieved: {}".format(cmd)
app.send_message(chat_dest, msg)
@app.route('(?!/).+') def parrot(message): chat_dest = message['chat']['id'] user_msg = message['text']
msg = "Parrot Says: {}".format(user_msg)
app.send_message(chat_dest, msg)
if name == 'main': app.config['api_key'] = 'xxxxxxxx:enterYourBotKeyHereToTest' app.poll(debug=True)
FAQs
A Telegram bot library, with simple route decorators.
We found that telebot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.