A bot for Mattermost servers that can listen for events and perform actions.
APACHE-2.0 License
A bot for Mattermost servers that can listen for events and perform actions.
This code is based on mattermost-bot-sample-golang made by mattermost.
$ git clone https://github.com/qubist/holobot.git
$ cd holobot
config.yaml
and setup the values like this:Domain: "your.chatdomain.com"
LongName: "Mattermost Bot Sample"
UserEmail: "[email protected]"
UserPassword: "somepasswordhere"
UserName: "imabot"
UserFirst: "Im A"
UserLast: "Bot."
PublicTeamName: "name-of-public-team"
PrivateTeamName: "name-of-private-team"
DebuggingTeamName: "name-of-debugging-team"
LogChannel: "debugging-for-sample-bot"
Debugging: false
$ go get github.com/mattermost/mattermost-server/model
$ make run
You can verify the Bot is running when
Server detected and is running version 3.X.X
appears on the command line.Mattermost Bot Sample has started running
is posted in the Debugging For Sample Bot
channel.Log in to the Mattermost server using the login you defined in config.yaml
. ([email protected]
and somepasswordhere
in the given example.)
Join the Debugging For Sample Bot
channel.
CTRL+C
to stop the bot. You should see Mattermost Bot Sample has stopped running
posted in the Debugging For Sample Bot
channel.NOT Will
zippy has maintained this software in the past
Questions can be asked in the Holochain public Mattermost server. I'd love your suggestions!
Pull requests are accepted. Contributions to the code would be greatly appreciated!