Decided to open source an integration I built for relieving the covid time anxiety in my organization. The idea is to generate random “team channels” for every week or so to have a kind of “coffee room” where you get to know new people and discus low-threshold chitchat. We have tried it for a couple of weeks now and it has been pretty fun. I am aware of e.g. mattermost-coffeebot, but my approach is slightly different as explained in the gitlab page.
Hello @lani! I’m actually really interested by the concept your plugin presents, it sounds like a great idea, especially as a way to build unity and teamwork in a corporate/company environment! Is your plugin functional with all versions/methods of installation of Mattermost?
We use the Self-managed Enterprise E0 version and I assume compatibility to higher self-managed tiers should be fine.
Regarding the cloud version, I believe the bot itself is fine, since it acts as a non-admin user and I have not found any material stating the API would be different in cloud… The only thing that makes me concerned is how the cloud handles the deleted channels…
Since mattermost only archives channels when they are deleted by user or via API, they will cumulate and need to be cleaned up periodically. In the self-managed version this works with Command Line Tools — Mattermost 5.30 documentation and a piece of cron script I have included in my deployment instructions.
But for cloud I don’t believe such way of deletion exists… I should probably try to query this from mm unless someone here knows.
That’s a very valid point - one that I wouldn’t have thought of, that’s for sure.
Is there a way to perform an operation such as what @lani is describing @ahmaddanial ?
That’s interesting, I’m somewhat surprised by that to be honest, you’d think that you would be able to delete them if you wanted to, say, restructure your teams etc.
Is there any other option to “get rid” of unwanted channels in a cloud environment, or would we need to create an alternative method of removal, per se?
Good that it will be possible in the cloud too… However it would be nice to have a possibility to have some more official cleanup method than cron job + mmctl + to-be-deleted-markers + grep.
Of course this kind of disposable channel thing is not very typical in other use cases than mine.