summaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
author8cy <[email protected]>2020-07-06 06:08:33 -0700
committer8cy <[email protected]>2020-07-06 06:08:33 -0700
commit7fd2870037c157ea3c215e225fe42329d6af6e82 (patch)
treefa91bc0ddfec595a86eea78f819b295b805b2bb0 /src/models
parentadd ts defs so not a lot of errors left (diff)
downloaddep-core-7fd2870037c157ea3c215e225fe42329d6af6e82.tar.xz
dep-core-7fd2870037c157ea3c215e225fe42329d6af6e82.zip
add fanart for emma :star2:
Diffstat (limited to 'src/models')
-rw-r--r--src/models/FanArt.ts13
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