mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 06:31:20 +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
|
||||
- **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`)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue