summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-05-20 10:46:27 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-05-20 10:46:27 +0200
commitf900f7955f60c1d46be359e378c0d15bd8af8c09 (patch)
tree904b24173ce3bc08f6afb421250d2bb486566547
parent90f291211703b4d6823c55ca84ba3b1d4127b027 (diff)
downloaddiscordbot-f900f7955f60c1d46be359e378c0d15bd8af8c09.tar.gz
discordbot-f900f7955f60c1d46be359e378c0d15bd8af8c09.zip
disable registration, end of beta
-rw-r--r--commands/vainsocial/guild_create.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/commands/vainsocial/guild_create.js b/commands/vainsocial/guild_create.js
index e742609..a8caa6a 100644
--- a/commands/vainsocial/guild_create.js
+++ b/commands/vainsocial/guild_create.js
@@ -49,6 +49,11 @@ Create a Guild with your VainSocial profile as leader.
async run(msg, args) {
util.trackAction(msg, "vainsocial-guild-create");
const guildCreateView = new GuildCreateView(msg, msg.author.id);
+ if (msg.guild.id != 283790513998659585)
+ return await guildCreateView.error(oneLine`
+Guilds creation is currently running in closed beta.
+If you want to participate, join our development Discord: https://discord.gg/txTchJY
+`);
try {
await api.post("/guild", {
shard_id: args.region,