[add] /everyone

This commit is contained in:
2025-04-24 15:31:46 +08:00
parent 01b446e9f9
commit d09a43c3d9
6 changed files with 254 additions and 4 deletions

9
models/User.js Normal file
View File

@@ -0,0 +1,9 @@
const mongoose = require('../db');
const userSchema = new mongoose.Schema({
chatId: { type: Number, required: true, unique: true },
username: { type: String },
firstName: { type: String },
});
module.exports = mongoose.model('User', userSchema);