Mattermost Peer-to-Peer Forum

Schedule DND for all users


#1

Is there any way by which we can Turn ON/OFF DND status for all the users and we can schedule it.
So the outcome would be that status of all the users will be changed to Do Not Disturb irrespective of them being Online/Offline/Away.


#2

Hey @yatin,

I think a plugin for your Mattermost server would work great here. Here is more information about plugins: https://developers.mattermost.com/extend/plugins/

With our plugin framework, you can create a plugin which updates user’s status based on custom criteria that you’ve specified. Here is the plugin API call that let’s you update user’s statuses https://developers.mattermost.com/extend/plugins/server/reference/#API.UpdateUserStatus

If you have any questions, don’t hesitate to let us know!