diff options
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/welcome.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/models/welcome.ts b/src/models/welcome.ts new file mode 100644 index 0000000..29700fc --- /dev/null +++ b/src/models/welcome.ts @@ -0,0 +1,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)
\ No newline at end of file |