Dateien nach "mongo" hochladen
This commit is contained in:
		
							
								
								
									
										9
									
								
								mongo/guildDB.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								mongo/guildDB.js
									
									
									
									
									
										Normal 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);
 | 
			
		||||
		Reference in New Issue
	
	Block a user