mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01: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:
@@ -39,7 +39,7 @@ class GuildStore extends DataStore {
|
||||
|
||||
/**
|
||||
* 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 {Object} [options] Options for the creating
|
||||
* @param {string} [options.region] The region for the server, defaults to the closest one available
|
||||
|
||||
Reference in New Issue
Block a user