A powerful and extendable Discord bot, with it's own module system :3 thevoid.cafe/projects/voidy
at develop 16 lines 370 B view raw
1import { Schema, model } from "mongoose"; 2 3export const UserIntegration = model( 4 "UserIntegration", 5 new Schema({ 6 userId: { type: String, required: true }, 7 service: { 8 type: Object, 9 required: true, 10 default: { 11 type: { type: String, required: true }, 12 id: { type: String, required: true }, 13 } 14 } 15 }), 16);