mirror of
https://github.com/danbulant/discord.js
synced 2026-06-08 01:01:30 +00:00
docs(GuildStore): correct warning for create method (#2453)
Bots may create guilds if they are in less than 10 guilds.
This commit is contained in:
parent
f985b6bef3
commit
2bf68dcdfb
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class GuildStore extends DataStore {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a guild.
|
* Creates a guild.
|
||||||
* <warn>This is only available when using a user account.</warn>
|
* <warn>This is only available to bots in less than 10 guilds and user accounts.</warn>
|
||||||
* @param {string} name The name of the guild
|
* @param {string} name The name of the guild
|
||||||
* @param {Object} [options] Options for the creating
|
* @param {Object} [options] Options for the creating
|
||||||
* @param {string} [options.region] The region for the server, defaults to the closest one available
|
* @param {string} [options.region] The region for the server, defaults to the closest one available
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue