Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • hosting/chat/matrix-bigbluebutton-bot-go
1 result
Show changes
Commits on Source (2)
......@@ -24,13 +24,24 @@ Configuration is taken from environment variables. Make sure to set them before
* MODERATOR_PW: moderator password for BBB meetings. default: "m0d3r4t0r"
* ATTENDEE_PW: user password for BBB meetings. default:"4tt3nd33"
# Usage
# Launch bot service
Run `go build`. This will create an executable named "matrix-bigbluebutton-bot-go".
As soon as the bot is online, it will output "Bot started!" in the console.
# Usage
You first have to invite the bot to a room, from which you want to start a conference, just like a regular user. It will listen to room events.
If you now enter the command '!conf' the bot, will create a BigBlueButton Room. The relevant data (login URLs etc.) is then sent to the room, so others can easily join.
# Limitations
Please note that the bot based on golang is still in a proof-of-concept phase, so do not use it in production environments yet.
When the bot is online, it will output "Bot started!" in the console. You can now invite it to a room, just like a regular user. It will listen to room events and, when the command "!create" is encountered, will create a BigBluebutton Room. The relevant data (login URLs etc.) is then sent to the room.
# Author
# Limitations:
Martin Klampfer
Please note that is is only a very simple Proof-Of-Concept, so use it accordingly.
An open source project by [fairkom.eu](https://fairkom.eu)
......@@ -36,7 +36,7 @@ func matrix() {
return
}
botCommand := "!create"
botCommand := "!conf"
match, _ := regexp.MatchString("^"+botCommand, evt.Content.AsMessage().Body)
if !match {
//fmt.Println("msg doesn't begin with bot command, skipping ")
......