summaryrefslogtreecommitdiff
path: root/src/models/goodbye.ts
blob: c650ef9a98660ccafaaee96d6e2e4c3917155ca5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import mongo from 'mongoose';
const goodbyeSchema = 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('Goodbye', goodbyeSchema)