Dateien nach "mongo" hochladen
This commit is contained in:
parent
71ab06ff0a
commit
d9ba147a08
|
@ -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);
|
Loading…
Reference in New Issue