docs: Added url to Invite's warning comment (#2804)

And added the [serial comma](https://en.wikipedia.org/wiki/Serial_comma)
This commit is contained in:
Kyra
2018-08-29 02:12:12 +02:00
committed by Isabella
parent 89986ae293
commit b83fdbfefe

View File

@@ -4,7 +4,8 @@ const Constants = require('../util/Constants');
/**
* Represents an invitation to a guild channel.
* <warn>The only guaranteed properties are `code`, `guild` and `channel`. Other properties can be missing.</warn>
* <warn>The only guaranteed properties are `code`, `url`, `guild`, and `channel`.
* Other properties can be missing.</warn>
*/
class Invite {
constructor(client, data) {