-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpaths.js
47 lines (46 loc) · 2.04 KB
/
paths.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
/**
Paths
Paths to repos and websites
**/
module.exports = function() {
/**
Github Paths
**/
const githubRaw = "https://raw.githubusercontent.com/";
this.githubAPI = "https://api.github.com/";
/**
Repo Paths
**/
const wwrOrg = "WerewolvesRevamped";
const iconRepo = `${wwrOrg}/Werewolves-Icons`;
const iconRepoBranch = "main"
this.iconRepoBaseUrl = `${githubRaw}${iconRepo}/${iconRepoBranch}/`;
this.roleRepo = `${wwrOrg}/Werewolves-Roles`;
this.roleRepoBranch = "main";
this.roleRepoBaseUrl = `${githubRaw}${roleRepo}/${roleRepoBranch}/`;
this.roleRepoSecondary = `${wwrOrg}/WWR-AdditionalRoles`;
this.roleRepoSecondaryBranch = "main";
this.roleRepoSecondaryBaseUrl = `${githubRaw}${roleRepoSecondary}/${roleRepoSecondaryBranch}/`;
/** Files **/
this.iconLUTPath = `${iconRepoBaseUrl}replacements.csv`;
this.colorsLUTPath = `${iconRepoBaseUrl}colors.csv`;
this.rolepathsPath = `${roleRepoBaseUrl}_paths/roles`;
this.rolepathsPathSecondary = `${roleRepoSecondaryBaseUrl}_paths/roles`;
this.infopathsPath = `${roleRepoBaseUrl}_paths/info`;
this.infopathsPathSecondary = `${roleRepoSecondaryBaseUrl}_paths/info`;
this.grouppathsPath = `${roleRepoBaseUrl}_paths/groups`;
this.grouppathsPathSecondary = `${roleRepoSecondaryBaseUrl}_paths/groups`;
this.attributepathsPath = `${roleRepoBaseUrl}_paths/attributes`;
this.attributepathsPathSecondary = `${roleRepoSecondaryBaseUrl}_paths/attributes`;
this.teamspathsPath = `${roleRepoBaseUrl}_paths/teams`;
this.teamspathsPathSecondary = `${roleRepoSecondaryBaseUrl}_paths/teams`;
this.setspathsPath = `${roleRepoBaseUrl}_paths/sets`;
this.locationpathsPath = `${roleRepoBaseUrl}_paths/locations`;
this.pollpathsPath = `${roleRepoBaseUrl}_paths/polls`;
this.displayspathsPath = `${roleRepoBaseUrl}_paths/displays`;
/**
Website Paths
**/
this.website = "https://werewolves.me/";
this.cardBaseUrl = `${website}cards/card.php?name=`;
}