Updated theme
This commit is contained in:
parent
c7164613a2
commit
ab540c0f74
@ -307,7 +307,7 @@ function Theme (client) {
|
|||||||
if (!isColor(hex)) { console.warn('Theme', `${hex} is not a valid color.`); return }
|
if (!isColor(hex)) { console.warn('Theme', `${hex} is not a valid color.`); return }
|
||||||
this.active[key] = hex
|
this.active[key] = hex
|
||||||
}
|
}
|
||||||
this.read = (key) => {
|
this.get = (key) => {
|
||||||
return this.active[key]
|
return this.active[key]
|
||||||
}
|
}
|
||||||
this.parse = (any) => {
|
this.parse = (any) => {
|
||||||
|
@ -86,7 +86,7 @@ function Theme (client) {
|
|||||||
this.active[key] = hex
|
this.active[key] = hex
|
||||||
}
|
}
|
||||||
|
|
||||||
this.read = (key) => {
|
this.get = (key) => {
|
||||||
return this.active[key]
|
return this.active[key]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user