-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstations.js
52 lines (50 loc) · 1.54 KB
/
stations.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
module.exports = {
name: "stations",
description: "Shows a list with all avalible radio stations.",
execute(message, args) {
let prefix = process.env.prefix;
let stationtitles = require("../radiostations.json").titles;
let stationnames = require("../radiostations.json").names;
message.channel.send({
embed: {
author: {
//icon_url: client.user.displayAvatarURL(),
name: message.client.user.username + "'s Available stations",
},
color: "ffffff",
description: "Listed radio stations",
fields: [
{
name: `${stationtitles[0]}`,
value: `command: ${prefix}radio ${stationnames[0]}`,
},
{
name: `${stationtitles[1]}`,
value: `command: ${prefix}radio ${stationnames[1]}`,
},
{
name: `${stationtitles[2]}`,
value: `command: ${prefix}radio ${stationnames[2]}`,
},
{
name: `${stationtitles[3]}`,
value: `command: ${prefix}radio ${stationnames[3]}`,
},
{
name: `${stationtitles[4]}`,
value: `command: ${prefix}radio ${stationnames[4]}`,
},
{
name: `${stationtitles[5]}`,
value: `command: ${prefix}radio ${stationnames[5]}`,
},
],
timestamp: new Date(),
footer: {
//icon_url: client.user.displayAvatarURL(),
text: "Logo by FireyJS\nCreated by Maru and Taigo",
},
},
});
},
};