Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation of plugins very unclear #54

Open
d2dyno opened this issue May 5, 2019 · 1 comment
Open

Installation of plugins very unclear #54

d2dyno opened this issue May 5, 2019 · 1 comment

Comments

@d2dyno
Copy link

@d2dyno d2dyno commented May 5, 2019

I am trying to get this up and running with most of the available plugins. The problem I was having, was I didn't even know how they needed to be packaged when uploading. I tried .zip files from github, then tried just the .py files. Only later did I learn I needed mbp files.

For the plugins that don't have mbp releases, I still don't know what to do. I tried to figure out the build method, but it is very unclear how to even start a build from within the docker cli.

@mChron

This comment has been minimized.

Copy link

@mChron mChron commented Jul 15, 2019

@d2dyno I was able to get this working after pinging some devs in the maubot room. Here is a little bit of documentation but nothing official.

I was running the Maubot management server in a docker container, I then cloned the maubot/maubot repo to my host machine and ran setup.py to install dependencies. I then cloned whichever bot I wanted (e.g. the dice bot) under the maubot repo in a directory named dice. If you issue mbc build , e.g. mbc build dice, you end up with a mbp file. If you navigate to your maubot manager UI, e.g. localhost:29316, you can upload the mbp file.

You then have to register a set of credentials for the bot on the synapse homeserver and get the access token for that user. In the maubot manager create a client connection with the credentials you just registered and the access token. Then you create an instance of the bot using the user and plugin.

Finally, in riot.im I invited the bot to a private chat and I was able to interact with the bot.
I hope that helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.