This repository has been archived by the owner on Nov 5, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathnews.js
86 lines (86 loc) · 2.83 KB
/
news.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
const path = require('path');
var newsFile = path.join(__dirname, '/config/news.json');
var news = require(newsFile);
var configFile = path.join(__dirname, '/config/config.json');
var config = require(configFile);
module.exports = {
_title: 'Fortnite Game',
_activeDate: new Date().toISOString(),
lastModified: new Date().toISOString(),
_locale: 'en-US',
loginmessage: {
_title: 'LoginMessage',
loginmessage: {
_type: 'CommonUI Simple Message',
message: {
_type: 'CommonUI Simple Message Base',
title: 'Neonite',
body: 'Join Our Discord For New Updates https://discord.gg/hdVX7Rj'
}
},
_activeDate: new Date().toISOString(),
lastModified: new Date().toISOString(),
_locale: 'en-US'
},
battleroyalenews: {
news: {
platform_messages: [],
_type: 'Battle Royale News',
messages: [
{
image: news.image1,
hidden: false,
_type: 'CommonUI Simple Message Base',
adspace: news.adspace1,
title: news.title1,
body: news.text1,
spotlight: false
},
{
image: news.image2,
hidden: false,
_type: 'CommonUI Simple Message Base',
adspace: news.adspace2,
title: news.title2,
body: news.text2,
spotlight: false
},
{
image: news.image3,
hidden: false,
_type: 'CommonUI Simple Message Base',
adspace: news.adspace3,
title: news.title3,
body: news.text3,
spotlight: false
}
]
},
_title: 'battleroyalenews',
header: '',
style: 'None',
_activeDate: new Date().toISOString(),
lastModified: new Date().toISOString(),
_locale: 'en-US'
},
emergencynotice: {
news: {
platform_messages: [],
_type: 'Battle Royale News',
messages: [
{
hidden: false,
_type: 'CommonUI Simple Message Base',
subgame: 'br',
title: 'Neonite beta',
body: config.announcement,
spotlight: true
}
]
},
_title: 'emergencynotice',
_activeDate: new Date().toISOString(),
lastModified: new Date().toISOString(),
_locale: 'en-US'
}
}