mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
Added docs warning for acceptInvite method (#1267)
Added docs warning for acceptInvite method (user account only iirc)
This commit is contained in:
@@ -326,6 +326,7 @@ class ClientUser extends User {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Accepts an invite to join a guild
|
* 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
|
* @param {Invite|string} invite Invite or code to accept
|
||||||
* @returns {Promise<Guild>} Joined guild
|
* @returns {Promise<Guild>} Joined guild
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user