This bot uses Symphony Elements to facilitate the creation of polls, firing of poll messages, ending polls and collation of results.
@Poll Bot /poll
- Sends a create poll form via IM
- When used in a room: targets the room
- When used in an IM: includes a person selector field for private polls
@Poll Bot /pin
- Sends a button to the same chat that opens a re-submittable create poll form in a dialog
- Pins the message if used in an IM or when used in a room and the bot is a room owner
- JDK 17+
- MongoDB
Fill up src/main/resources/application.yaml
with the values for pod information and a mongo database uri
spring:
data.mongodb.uri: mongodb://
bdk:
host: develop2.symphony.com
bot:
username: poll-bot-java
privateKey.path: rsa/privatekey.pem