added full api and more

This commit is contained in:
CorwinDev committed 2022-08-10 12:23:19 +02:00
1 parent 47dfdbd344
commit c83c27a8ac
23 files changed
+574 -77

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ let hm = new mongoose.Schema({
servers: String,
users: String,
votes: Number,
token: String,
});
module.exports = mongoose.model("bots", hm);
+3
View File
@@ -10,6 +10,9 @@ let hm = new mongoose.Schema({
icon: String,
members: Number,
votes: Number,
bump: Date,
webhook: String,
bumps: Number,
});
module.exports = mongoose.model("servers", hm);
+1
View File
@@ -3,6 +3,7 @@ let model = new mongoose.Schema({
user: String,
date: Date,
bot: String,
server: String
});
module.exports = mongoose.model("votes", model);