ミラー元
https://github.com/aydenjahola/discord-multipurpose-bot.git
同期済み 2025-07-13 08:07:08 +01:00
10 行
333 B
JavaScript
10 行
333 B
JavaScript
const mongoose = require("mongoose");
|
|
|
|
const warningSchema = new mongoose.Schema({
|
|
userId: { type: String, required: true },
|
|
guildId: { type: String, required: true },
|
|
reason: { type: String, required: true },
|
|
date: { type: Date, default: Date.now },
|
|
});
|
|
|
|
module.exports = mongoose.model("Warning", warningSchema);
|