diff options
| author | 8cy <[email protected]> | 2020-04-26 12:05:39 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-26 12:05:39 -0700 |
| commit | 49c72d78f709d6d56ebb7c76383069181a7f0a08 (patch) | |
| tree | edcd906401aa794d565cbe991e41a932ed332f7c /src/models | |
| parent | consolelog on join guild, v7.7.1 (diff) | |
| download | dep-core-49c72d78f709d6d56ebb7c76383069181a7f0a08.tar.xz dep-core-49c72d78f709d6d56ebb7c76383069181a7f0a08.zip | |
add welcome command, v7.8.0
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 |