summaryrefslogtreecommitdiff
path: root/src/models
diff options
context:
space:
mode:
author8cy <[email protected]>2020-04-28 13:16:40 -0700
committer8cy <[email protected]>2020-04-28 13:16:40 -0700
commitc6d45a94b0e3bbcb0b2e01ed8e35428040126c45 (patch)
tree526227612501768272e1f985d5f7c6b3671bf638 /src/models
parentchange darling quote calc method, add 002 quotes to quote, v8.1.2 (diff)
downloaddep-core-c6d45a94b0e3bbcb0b2e01ed8e35428040126c45.tar.xz
dep-core-c6d45a94b0e3bbcb0b2e01ed8e35428040126c45.zip
The Return, v8.2.0
- add goodbye - add avatar alias to pfp - add rule34, gelbooru and danbooru - fix ban and kick - add advice - add motivation alias to motivate
Diffstat (limited to 'src/models')
-rw-r--r--src/models/goodbye.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/models/goodbye.ts b/src/models/goodbye.ts
new file mode 100644
index 0000000..c650ef9
--- /dev/null
+++ b/src/models/goodbye.ts
@@ -0,0 +1,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) \ No newline at end of file