diff options
| author | 8cy <[email protected]> | 2020-07-06 06:08:33 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-07-06 06:08:33 -0700 |
| commit | 7fd2870037c157ea3c215e225fe42329d6af6e82 (patch) | |
| tree | fa91bc0ddfec595a86eea78f819b295b805b2bb0 /src/models | |
| parent | add ts defs so not a lot of errors left (diff) | |
| download | dep-core-7fd2870037c157ea3c215e225fe42329d6af6e82.tar.xz dep-core-7fd2870037c157ea3c215e225fe42329d6af6e82.zip | |
add fanart for emma :star2:
Diffstat (limited to 'src/models')
| -rw-r--r-- | src/models/FanArt.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/models/FanArt.ts b/src/models/FanArt.ts new file mode 100644 index 0000000..56f63c9 --- /dev/null +++ b/src/models/FanArt.ts @@ -0,0 +1,13 @@ +import mongo from 'mongoose'; +const fanArtSchema = 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('FanArt', fanArtSchema)
\ No newline at end of file |