We are open-sourcing a silly Slack bot, guess what it does!
At JoliCode we use Slack to communicate. And to bring fun to our daily life, we have created a #monologue channel where we can share our thoughts, our feelings, our dreams, our fears, our jokes, our memes, our pictures, our videos, our music, our links, our code, our life. But we have a special rule in this channel.
Only one person can use this channel per day. The others cannot: no message, no reaction, no changing the topic, no message deleting, no poll. The pledge is to offer breakfast 🍪🍩🥐.
But it was hard to remember who failed and had to give us breakfast! Because sometimes, some of us were able to trick so many people in one day 🎉.
So 3 years ago we built a very small app to keep track of all our debts! 💸
This bot is here to help us respect this rule. It will post a message in the channel as soon as someone breaks the rule!
Section intitulée open-source-timeOpen Source Time!
Today, we are happy to announce we have open-sourced our bot ✨🎇🎆✨
It’s a traditional Symfony application, that runs with:
- Symfony 6.2
- PHP 8.1
- PostgreSQL 15.1
Section intitulée how-does-it-workHow does it work?
The application listens for webhook coming from Slack. It receives all messages from a specific channel, to know who is the first to acquire the channel, and who will fail.
It features:
- an action to mark a debt as paid;
- some commands:
-
/monologue
: to get the list of all pending debts; -
/amnesty
: to ask for a general amnesty a certain number of members (5) need to ask for one, on the same day.
-
Section intitulée conclusionConclusion
It’s a very small project that fits our needs. We guess it won’t evolve very much, but if you find a typo or have a nice idea to improve the project, we’ll be happy to merge your pull request.
But we encourage you to install this bot in your company, it’s quite simple and we provide a manifest to ease the configuration of the slack application.
Finally, this application helps users increase security, because a malicious colleague will very often post in #monologue on your behalf if you keep your computer session open to the public…
Commentaires et discussions
Ces clients ont profité de notre expertise
Nous avons réalisé différentes applications métier à l’aide de technologies comme Symfony2 et Titanium. Arianespace s’est appuyé sur l’expertise reconnue de JoliCode pour mettre en place des applications sur mesure, testées et réalisées avec un haut niveau de qualité.
En tant que joaillier 100 % numérique, l’équipe de Courbet Paris a souhaité se doter d’une plateforme eCommerce, capable d’offrir une expérience moderne qui revalorise l’acte d’achat de produits de joaillerie sur internet. JoliCode a accompagné leur équipe en développant une plateforme robuste, mais aussi évolutive, afin de répondre aux enjeux business…
Groupama confie à JoliCode la maintenance et les évolutions de son outil de souscription d’épargne salariale. Pierre angulaire de l’acquisition de nouveau client, l’outil permet aux apporteurs de saisir toutes les données de l’entreprise, faire signer numériquement le contrat au client et de conclure la souscription. Le tunnel est accompagné d’outil…