From 00ef8958b99d5f7b5ac129304ccff465165560db Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Fri, 19 Feb 2021 15:42:15 +0100 Subject: :art: [Guild] check if user is allowed to created a guild --- src/util/Config.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/util/Config.ts') diff --git a/src/util/Config.ts b/src/util/Config.ts index e2625aff..200ec1b2 100644 --- a/src/util/Config.ts +++ b/src/util/Config.ts @@ -22,6 +22,11 @@ export interface RateLimit { } export interface DefaultOptions { + permissions: { + user: { + createGuilds: boolean; + }; + }; limits: { user: { maxGuilds: number; @@ -96,6 +101,11 @@ export interface DefaultOptions { } export const DefaultOptions: DefaultOptions = { + permissions: { + user: { + createGuilds: true, + }, + }, limits: { user: { maxGuilds: 100, -- cgit 1.5.1