mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 23:21:04 +00:00
Clarify joining server with OAuth bots
This commit is contained in:
parent
1f5002ae41
commit
96ed5a1e52
1 changed files with 1 additions and 1 deletions
|
|
@ -271,7 +271,7 @@ Gets a list of banned users in a server.
|
|||
joinServer(invite, `callback`)
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Joins a server from the given invite. This will not work for OAuth bot accounts.
|
||||
Joins a server from the given invite. This will not work for OAuth bot accounts, you must use `OAuth invite URLs <https://discordapp.com/developers/docs/topics/oauth2#adding-bots-to-guilds>`_ instead.
|
||||
|
||||
- **invite** - an `Invite Resolvable`_
|
||||
- **callback** - `function` taking the following:
|
||||
|
|
|
|||
Loading…
Reference in a new issue