MozItaBot (@MozItaBot, first called MozIta Hub) was the official Telegram bot of Mozilla Italia. It pointed newcomers to the community's groups and channels, and offered support and contribution info, the Firefox vademecum PDFs, the monthly meetings, active projects, the rules and opt-in news alerts. Commands included /gruppi, /supporto, /vademecum, /prossimoMeeting, /progetti and /avvisiOn. Admins could broadcast messages, manage projects and channels, and download logs, and from late 2020 the bot also forwarded Mozilla Italia tweets to the MozItaNews channel. It was written in Python 3 with telepot, and with tweepy for the Twitter integration.
The Design and Marketing groups were merged and Amazon was removed from the projects list. Group links are now set in one place, and requirements pin a patched telepot (by Damiano Gualandri). The Twitter integration had been switched off in May 2021.
Added a Marketing group button and texts, and Firefox Reality in the projects list (contributed by Damiano Gualandri).
Removed the IoT and 'Become a volunteer' groups.
Forwarded tweets get a 'View tweet' button and an RT label for retweets. Added the Common Voice vademecum (/vademecumCV) and the L10n group, and updated the projects lists.
Twitter integration: new Mozilla Italia tweets are forwarded automatically to the MozItaNews channel (by Damiano Gualandri). Admins can download today's or yesterday's log.
Improved the admin help message.
The channel commands are now grouped under /admin canale. Fixed the error message shown for a missing channel; input is case-insensitive, and '@' is added automatically when needed.
Clarified the admin section and documented the admin IDs in code comments.
Fixed a misspelling in the admin help.
Admins can manage a list of channels and preview, send or broadcast messages to them. The code was refactored (contributed by Damiano Gualandri).
Users the bot can no longer reach are removed automatically from the news-alert and all-users lists.
Broadcasts to users now pause briefly between messages and tell the admin when they finish. Exceptions are logged to file.
Added a function that logs exceptions to file (contributed by Ilyas).
New /social command and button with the community's social media links (contributed by Ilyas).
Fixed bug #33: the bot now answers inline-button presses.
Admins can download log files with /admin scarica YYYY MM DD.
Fixed the /vademecumGenerale and /vademecumTecnico commands and updated the vademecum PDFs.
Bug fixes, including in the admin area. The rules link now points to the community copy, the code was optimised and the vademecum PDFs were updated.
Simplified the help, renamed commands (call to meeting, prossimacall to prossimoMeeting) in camelCase and added /aiuto. A new button opens the YouTube channel, and commands are no longer case-sensitive.
Some improvements.
Added an admin 'preview' command for checking messages before sending, and fixed managing community projects in admin mode.
Code-quality improvements: the Pylint score went from 6.55 to 7.40 out of 10.
Code-quality improvements: the Pylint score went from 5.27 to 6.55 out of 10.
Code-quality improvements: the Pylint score went from 3.82 to 5.27 out of 10. Giovanni Francesco Solone revised the button texts.
Some fixes.
More fixes. The bot shows a notice while it sends the vademecum PDFs, and the telegram_events module was updated.
Message-event handling moved to the shared telegram_events.py module. Giovanni Francesco Solone revised the bot's texts.
More of the bot's texts moved into frasi.json.
The bot's texts are now loaded from the frasi.json file.
The vademecum PDFs are now sent straight from the bot instead of as links (#26). Some fixes.
Added an admin and polished several messages.
New admins. Chat history is now saved as daily log files, and the 2017–2019 meeting etherpads were added.
Some improvements.
Fixed /info. Some messages now use Markdown formatting.
Markdown support in the bot's messages and in admin alerts, and an updated warning for users without a username.
Monthly meeting recordings are now split by year, and the admin meeting commands take a year.
Added emoji to buttons and messages. Minor fixes.
The bot was renamed from 'MozIta Hub' to 'MozItaBot'. Fixes and corrections.
Added an 'Avvisi' (news alerts) button and new icons.
First 1.x version: encoding fixes for Linux, and the version is printed at startup.
The bot token is now read from a config.ini file (#19, contributed by Daniele Scasciafratte). Other updates.
Added a footer to news-alert messages, plus small fixes.
Added exception handling and more detailed logs, plus news alerts users can switch on or off. Monthly meetings and projects now load from JSON files, and admins can broadcast messages and manage meetings and projects.
Code improvements and a new contributor in the credits.
/prossimacall now gives the exact date of the next monthly meeting (the first Friday of the month). Added the November meeting and fixed the code.
Small fixes and a link to the October 2018 meeting recording.
Fixed some errors in the code.
Fixed an error in the code.
Added the active Mozilla and Mozilla Italia projects, the monthly meetings with an estimate of the next one, and command fixes.
Added FAQs and timestamps in the logs, and reorganised the commands (with contributions from Martin Ligabue).
Renamed commands (/azioni to /help, /support to /supporto) and reordered the menus, with contributions from Martin Ligabue.
First version of the 'MozIta Hub' bot. Commands link to the Mozilla Italia Telegram groups and News channel, support, the forum, the vademecum, feedback, how to contribute, and info.