mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Added docs warning for acceptInvite method (#1267)
Added docs warning for acceptInvite method (user account only iirc)
This commit is contained in:
parent
bbd89585c6
commit
cee0d58fb8
1 changed files with 1 additions and 0 deletions
|
|
@ -326,6 +326,7 @@ class ClientUser extends User {
|
|||
|
||||
/**
|
||||
* Accepts an invite to join a guild
|
||||
* <warn>This is only available when using a user account.</warn>
|
||||
* @param {Invite|string} invite Invite or code to accept
|
||||
* @returns {Promise<Guild>} Joined guild
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue