mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Updated Resolvables
This commit is contained in:
@@ -23,5 +23,17 @@ A Channel Resolvable is data that can be resolved to a channel ID. Here is what
|
||||
Server Resolvable
|
||||
-----------------
|
||||
|
||||
A Server Resolvable is anything that can be resolved to a server ID. Here is what you can use:
|
||||
|
||||
- A Server_ object
|
||||
- A Channel_ object
|
||||
- A Message_ object
|
||||
- A `String` representing the ID of the server
|
||||
|
||||
Invite Resolvable
|
||||
-----------------
|
||||
-----------------
|
||||
|
||||
An Invite Resolvable is anything that resolves to an invite code. Here is what you can use:
|
||||
|
||||
- An Invite_ object
|
||||
- A `String` which is either the code or an invite URL containing it (e.g. ``https://discord.gg/0SCTAU1wZTZtIopF``)
|
||||
@@ -7,6 +7,7 @@
|
||||
.. _PMChannel : ./docs_pmchannel.html
|
||||
.. _Invite : ./docs_invite.html
|
||||
.. _Channel Resolvable : ./docs_resolvable.html#channel-resolvable
|
||||
.. _Server Resolvable : ./docs_resolvable.html#channel-resolvable
|
||||
.. _Invite Resolvable : ./docs_resolvable.html#invite-resolvable
|
||||
.. _Promises : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Promise
|
||||
.. _ServerPermissions : ./docs_permissions.html#id1
|
||||
|
||||
Reference in New Issue
Block a user