Make channel read-only

To block people from sending messages through WidgetBot, go to Channel Settings > Permissions, add the DisWeb user (not role) and set Send Messages to .

Read-Only Screenshot

Important

Make sure you set the permission on the DisWeb user, not the role.

user not role screenshot

The message input box in the widget will automatically be hidden.