🚧 shorten relative paths with @shortcut

This commit is contained in:
Flam3rboy
2021-03-22 21:52:56 +01:00
parent e902b805c1
commit b346ff857d
6 changed files with 31 additions and 21 deletions
+7 -1
View File
@@ -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,