mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +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
|
||||
* <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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user