nyx/models/level.js

12 lines
212 B
JavaScript
Raw Normal View History

2021-06-12 12:53:51 +02:00
const mongoose = require("mongoose");
module.exports = mongoose.model(
"level",
new mongoose.Schema({
xp: Number,
level: Number,
lastUpdate: Date,
userID: String,
guildID: String,
})
);