-
Notifications
You must be signed in to change notification settings - Fork 0
/
mssg.js
221 lines (217 loc) · 8.03 KB
/
mssg.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
const Discord = require('discord.js')
const { MessageEmbed } = require('discord.js')
module.exports = {
nothing_stop() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("The bot needs to have something it can stop")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
nothing_quit() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("The bot needs to have something it can quit")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
nothing_pause() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("The bot needs to have something it can pause")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
nothing_resume() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("The bot needs to have something it can resume")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
cmd_play_channel_empty() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("Someone needs to be in the voicechannel")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
queue_add(url) {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("added " + url + " to the queue")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
queue_list_empty() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("The queue is empty")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
queue_list(list) {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription(list)
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
queue_remove_not_found() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("Not found")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
queue_remove(removed) {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("Removed " + removed)
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
queue_play() {
},
queue_play_error() {
},
queue_next() {
},
cmd_play(link) {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("Music started \n Link: " + link)
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
cmd_playspotify_no_spotify() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("You need to play something on Spotify")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
cmd_stop() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("Music stopped")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
cmd_pause() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("Music paused")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
cmd_replay() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("Music replay started")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
cmd_replay_error() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("Replay Error")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
cmd_controls() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("Controls")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
return client.channels.cache.get(config_controlchannel).send(emb)
},
undeafen() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("It is not possible to undeafen the music bot")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
no_role() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("You need the role <@&" + config_musicrole + ">")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
queue_add_no_args() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("You need to povide args")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
queue_remove_no_args() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("You need to povide args")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
cmd_play_no_args() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("You need to povide args")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
},
cmd_queue_no_args() {
var emb = new MessageEmbed()
.setTitle('Music')
.setColor('FFFFFF')
.setDescription("You need to povide args")
.setFooter(client.user.tag, client.user.avatarURL())
.setTimestamp()
client.channels.cache.get(config_controlchannel).send(emb)
}
}