Update README.md

This commit is contained in:
Morgan Massens 2019-03-31 17:14:37 -05:00 committed by GitHub
commit d5877b02cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ npm install --save webrcon
```js
import Rcon from 'webrcon';
const rcon = new Rcon('127.0.0.1', 'secret_rcon_password');
const rcon = new Rcon('127.0.0.1', 'secret_rcon_password', '27021');
(async () => {
const result = await rcon.status();