Showing calendar events in Telegram

If you’ve a Telegram group, it might be interesting the ability of https://t.me/redken_bot for adding a calendar ical that automates publishing each day the events in the agenda for the day. If you did read Python and iCalendar ICS processing, part of the basis in that article are part of the bot and are easily used: For configuring, only a few simple steps are required: Have a calendar ICS/webcal accessible (for example a public Google Calendar one) Have a Telegram group where we do want to publish the events Add @redken_bot to the group Specify the URL del calendar and the name Let’s see some screenshoots of the process for you to check how easily it can be achieved....

March 21, 2023 · 2 min · Pablo Iranzo Gómez

In [email protected]_bot with examples

Redken in action with some examples Let’s learn about using Redken in Telegram or Discord with some examples…. but first, let’s add the bot to a new group based on the platform we’re using: Redken_bot in Telegram Redken in discord Let’s get hands on! First of all, some of the commands shown will require admin privileges in the chat (from the user point of view) and from Redken. Redken uses admin privileges to:...

January 20, 2022 · 3 min · Pablo Iranzo Gómez

LDAP query from Python

Recently, some colleagues commented about validating if users in a Telegram group were or not employees anymore, so that the process could be automated without having to chase down the users that left the company. One of the fields that can be configured by each user, is the link to other platforms (Github, LinkedIn, Twitter, Telegram, etc), so querying an LDAP server could suffice to get the list of users....

October 19, 2021 · 2 min · Pablo Iranzo Gómez

Redken machine learning for spam detection

For some of the telegram groups I’m in, I’ve been detecting users that after some period of time, just publish spam messages of any topic. There are many bots for controlling when a user joins, by showing a CAPTCHA that user must resolve (either clicking a button, answering a mathematical operation, inputting a CAPTCHA image text, etc). Some time ago, a colleague was using Machine Learning and I wanted to have a look at it and it would make a good feature to implement....

June 24, 2021 · 8 min · Pablo Iranzo Gómez

Language detection in @redken_bot

Introduction Before the move to Python3, redken had per-group language configuration by using i18n, with the upgrade/rewrite of Python3 code there were some issues and I had to remove the support, defaulting everything to English (most of the outputs where already in English so not a great loss). On another side, having to manually configure each channel could be problematic as most users just add the bot to their groups but don’t care about other settings that might be useful like welcome message, inactivity for kicking out inactive users, etc....

March 25, 2020 · 6 min · Pablo Iranzo Gómez
This blog is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.