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:
bdistin
2018-04-09 09:56:25 +02:00
committed by SpaceEEC
parent f985b6bef3
commit 2bf68dcdfb
+1 -1
View File
@@ -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