Dateien nach "mongo" hochladen

This commit is contained in:
M_Viper 2024-02-07 14:41:01 +00:00
parent 71ab06ff0a
commit d9ba147a08
1 changed files with 9 additions and 0 deletions

9
mongo/guildDB.js Normal file
View File

@ -0,0 +1,9 @@
const mongoose = require("mongoose");
const guildDB = new mongoose.Schema({
guild: { type: String, default: '' },
channel: { type: String, default: '' },
message: { type: String, default: '[member:mention] Willkommen bei [guild:name]' },
});
module.exports = mongoose.model(`${__filename.split(`${__dirname}/`).pop().split(`.`).shift()}`, guildDB);