forked from GlaceYT/Distube-Music-Bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mongoDB.js
51 lines (40 loc) · 1.83 KB
/
mongoDB.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
██████╗░████████╗██╗░░██╗
██╔══██╗╚══██╔══╝╚██╗██╔╝
██████╔╝░░░██║░░░░╚███╔╝░
██╔══██╗░░░██║░░░░██╔██╗░
██║░░██║░░░██║░░░██╔╝╚██╗
╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░╚═╝
# MADE BY RTX!! FEEL FREE TO USE ANY PART OF CODE
## FOR HELP CONTACT ME ON DISCORD
## Contact [ DISCORD SERVER : https://discord.gg/FUEHs7RCqz ]
## YT : https://www.youtube.com/channel/UCPbAvYWBgnYhliJa1BIrv0A
*/
const { Schema, model } = require("mongoose");
const musicbot = Schema({
guildID: String,
role: String,
language: String,
channels: Array,
});
const playlist = Schema({
userID: String,
playlist: Array,
musics: Array,
});
module.exports = {
musicbot: model("musicbot", musicbot),
playlist: model("playlist", playlist)
};
/*
██████╗░████████╗██╗░░██╗
██╔══██╗╚══██╔══╝╚██╗██╔╝
██████╔╝░░░██║░░░░╚███╔╝░
██╔══██╗░░░██║░░░░██╔██╗░
██║░░██║░░░██║░░░██╔╝╚██╗
╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░╚═╝
# MADE BY RTX!! FEEL FREE TO USE ANY PART OF CODE
## FOR HELP CONTACT ME ON DISCORD
## Contact [ DISCORD SERVER : https://discord.gg/FUEHs7RCqz ]
## YT : https://www.youtube.com/channel/UCPbAvYWBgnYhliJa1BIrv0A
*/