A powerful and extendable Discord bot, with it's own module system :3
thevoid.cafe/projects/voidy
1import { Schema, model } from "mongoose";
2
3export const UserConfig = model(
4 "UserConfig",
5 new Schema({
6 userId: { type: String, required: true },
7 consent: {
8 type: Object,
9 required: true,
10 default: {
11 storage: { type: Boolean, required: true, default: true },
12 statistics: { type: Boolean, required: true, default: true },
13 },
14 },
15 }),
16);