@redken_bot

Redken Manual This document contains some information about regular Redken https://t.me/redken_bot usage and some advanced settings. Introduction By default, new groups where the bot is added are just ready to start being used. General usage and features: word++ to add karma word-- to remove karma reply to message with ‘++’, ‘–’ or ‘==’ to add or remove karma to the user of the replied message or to the same words that were used /quote add username text to add a quote for a given username with the following text as the message /quote username to retrieve a random quote for that username. @all to ping all usernames for users in a channel @all++ to give karma to all usernames in a channel stock <ticker> to get the trading quote for ticker in stock market /hilight <add|delete|list> <word> Adds/deletes word or lists words that will cause a forward to notify you /feed <add|delete|list> name url Adds/deletes/lists a new feed form URL on channel /remind <add|delete|list> name interval text Adds/deletes/lists a new reminder for interval in channel, interval can be specified as ‘1y2m3w5d’ /ical <add|delete|list> name url Adds/deletes/lists a new ical url to print events happening during the day /cn <word> To get a random Chuck Norris fact related with the provided word (or random) /excuse To get a random excuse Also, while nothing is set against, you could use /gconfig to configure several aspects of it like: ...

March 4, 2019 · 8 min · Pablo Iranzo Gómez

Telegram Redken bot documentation

The new document is at Redken Documentation.

March 4, 2019 · 1 min · Pablo Iranzo Gómez

Unit testing for stampy

Since my prior post on Contributing to OpenStack, I liked the idea of using some automated tests to validate functionality and specifically, the corner cases that could arise when playing with the code. Most of the errors fixed so far on stampy, were related with some pieces of the code not properly handling UTF or some information returned, etc and still it has improved, the idea of ensuring that prior errors were not put back into the code when some other changes were performed, started to arise to be a priority. ...

November 5, 2016 · 6 min · Pablo Iranzo Gómez

Writing a Telegram.org bot in Python

Hi, Telegram.org recently announced the support for writing bots for their platform, by providing details at https://core.telegram.org/bots. I was missing for a long time the ability to get a count on karma like we’ve on IRC servers, so I started with it. My first try is published at github repo in https://github.com/iranzo/stampython. At the moment it just uses the polling interface to check the new messages received on the channels the bot is in, and later processes them and send the relevant replies via messages. ...

June 26, 2015 · 1 min · Pablo Iranzo Gómez
This blog is a participant in the Amazon Associate Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.