Poll Slash Command for Mattermost.
/poll supper soup salad "taco and burito" burger
- PHP
- MySQL
The Mattermost instance calling this service has to be version 4.2 or greater (provide »Interactive Message Buttons« feature).
- Clone project to desired directory
- Run
composer install
- Edit
.env
file - Initialize database
./bin/console doctrine:database:create ./bin/console doctrine:migrations:migrate
- Configure webserver to serve
web
directory- Development / Test: Run
php bin/console server:start 127.0.0.1:8000
- Production: Configure webserver for Symfony Apps
and export
.env
file
- Development / Test: Run
- Open homepage to see the »Request URL« needed for »Slash Commands«
- Add new »Slash Command« in each Teamspace in Mattermost
- Use the »Request URL« shown on the homepage of the service
https://gitlab.com/pixelbrackets/mattermost-poll/
Mirror https://github.com/pixelbrackets/mattermost-poll/
🚀 https://mattermost-poll.app.pixelbrackets.de/
- Type the slash command, followed by the poll title, followed by all answers
- Separete the title and each answer with spaces
- use quotes to include spaces in a string
Create a poll with a title and four answers
/poll supper soup salad "taco and burito" burger
GNU General Public License version 2 or later
The GNU General Public License can be found at http://www.gnu.org/copyleft/gpl.html.
Dan Untenzu ([email protected] / @pixelbrackets)
This script is Open Source, so please use, patch, extend or fork it.