Skip to content

Commit 2216fa4

Browse files
committed
Fresh module namespace
1 parent a18ed38 commit 2216fa4

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,17 @@ This is a [Hubot](https://hubot.github.com) adapter for [Matrix](https://matrix.
44

55
## Installation
66

7-
Use the version of this adapter appropriate to your Hubot version.
7+
Use the following adapter based on your Hubot version (`npm list hubot`).
88

99
* For Hubot v2, `npm i hubot-matrix@1`
1010
* For Hubot v3, `npm i hubot-matrix@2`
11-
* For Hubot v10, `npm i hubot-matrix@3`
12-
13-
| **hubot** | **hubot-matrix** |
14-
|-----------|----|
15-
| v2 | v1 |
16-
| v3 | v2 |
17-
| v10 | v3 |
11+
* For Hubot v10+, `npm i @xurizaemon/hubot-matrix`
1812

1913
## Adapter configuration
2014

2115
Set the following variables:
2216

17+
* `HUBOT_ADAPTER` should be `@xurizaemon/hubot-matrix`
2318
* `HUBOT_MATRIX_HOST_SERVER` - the Matrix server to connect to (default is `https://matrix.org` if unset)
2419
* `HUBOT_MATRIX_USER` - bot login on the Matrix server - eg `@examplebotname:matrix.example.org`
2520
* `HUBOT_MATRIX_PASSWORD` - bot password on the Matrix server

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"version": "2.0.1",
3-
"name": "hubot-matrix",
2+
"version": "3.0.0",
3+
"name": "@xurizaemon/hubot-matrix",
44
"description": "Matrix adapter for Hubot",
55
"license": "MIT",
66
"main": "src/matrix.mjs",

0 commit comments

Comments
 (0)