Skip to content

Commit

Permalink
Merge pull request #40 from pedrobmarin/master
Browse files Browse the repository at this point in the history
chore!: move to mconf organization
  • Loading branch information
prlanzarin authored May 13, 2022
2 parents 64f193b + 87384fb commit 65afa93
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A BigBlueButton's server and API's secret

**IMPORTANT**: do not run this lib with `root` privileges

`npm i bigbluebot`
`npm i @mconf/bigbluebot`

`cp node_modules/bigbluebot/.env.template .env`

Expand Down Expand Up @@ -83,7 +83,7 @@ Create your script, e.g. `run.js`:
Join audio with microphone

```js
const bigbluebot = require('bigbluebot');
const bigbluebot = require('@mconf/bigbluebot');

const actions = async page => {
await bigbluebot.audio.modal.microphone(page);
Expand All @@ -95,7 +95,7 @@ bigbluebot.run(actions);
Join audio as a listener

```js
const bigbluebot = require('bigbluebot');
const bigbluebot = require('@mconf/bigbluebot');

const actions = async page => {
await bigbluebot.audio.modal.listen(page);
Expand All @@ -107,7 +107,7 @@ bigbluebot.run(actions);
Join video

```js
const bigbluebot = require('bigbluebot');
const bigbluebot = require('@mconf/bigbluebot');

const actions = async page => {
await bigbluebot.video.join(page);
Expand All @@ -119,7 +119,7 @@ bigbluebot.run(actions);
Write in chat

```js
const bigbluebot = require('bigbluebot');
const bigbluebot = require('@mconf/bigbluebot');

const actions = async page => {
await bigbluebot.chat.send(page);
Expand All @@ -133,7 +133,7 @@ bigbluebot.run(actions);
You can pass options as a run parameter

```js
const bigbluebot = require('bigbluebot');
const bigbluebot = require('@mconf/bigbluebot');

const actions = async page => {
await bigbluebot.audio.modal.microphone(page);
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bigbluebot",
"version": "2.4.2",
"name": "@mconf/bigbluebot",
"version": "2.4.3",
"description": "BigBlueButton bots",
"main": "index.js",
"scripts": {
Expand All @@ -27,6 +27,9 @@
},
"author": "Pedro Beschorner Marin <pedrobmarin@gmail.com>",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"bugs": {
"url": "https://github.com/mconf/bigbluebot/issues"
},
Expand Down

0 comments on commit 65afa93

Please sign in to comment.