mirror of
https://github.com/danbulant/discord.js
synced 2026-07-05 19:20:42 +00:00
Doc getInvites
This commit is contained in:
parent
1732cc71bd
commit
e8874bae37
1 changed files with 10 additions and 0 deletions
|
|
@ -434,6 +434,16 @@ Gets more info on a specific invite
|
||||||
- **error** - error if any occurred
|
- **error** - error if any occurred
|
||||||
- **invite** - an Invite_ object
|
- **invite** - an Invite_ object
|
||||||
|
|
||||||
|
getInvites(source, `callback`)
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
Gets all the invites in a channel/server
|
||||||
|
|
||||||
|
- **source** - A `Channel Resolvable`_ or `Server Resolvable`_
|
||||||
|
- **callback** - `function` taking the following:
|
||||||
|
- **error** - error if any occurred
|
||||||
|
- **invite** - Array of Invite_ objects
|
||||||
|
|
||||||
deleteInvite(invite, `callback`)
|
deleteInvite(invite, `callback`)
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue