summaryrefslogtreecommitdiff
path: root/src/models/welcome.ts
blob: 29700fce1fb973b8e337369c476a156719e8183e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import mongo from 'mongoose';
const welcomeSchema = new mongo.Schema({
    _id: mongo.Schema.Types.ObjectId,
    username: String,
    userID: String,
    guildname: String,
    guildID: String,
    channelname: String,
    channelID: String,
    time: String
});

export = mongo.model('Welcome', welcomeSchema)