From b346ff857d91d6e7665756631fe03100c3e0972d Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 22 Mar 2021 21:52:56 +0100 Subject: :construction: shorten relative paths with @shortcut --- src/util/Config.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/util/Config.ts') diff --git a/src/util/Config.ts b/src/util/Config.ts index cd225407..a9cbddde 100644 --- a/src/util/Config.ts +++ b/src/util/Config.ts @@ -1,4 +1,4 @@ -import { Config } from "fosscord-server-util"; +import { Config, Snowflake } from "fosscord-server-util"; import crypto from "crypto"; import fs from "fs"; @@ -22,6 +22,9 @@ export interface RateLimit { } export interface DefaultOptions { + general: { + instance_id: bigint; + }; permissions: { user: { createGuilds: boolean; @@ -102,6 +105,9 @@ export interface DefaultOptions { } export const DefaultOptions: DefaultOptions = { + general: { + instance_id: Snowflake.generate(), + }, permissions: { user: { createGuilds: true, -- cgit 1.5.1