diff --git a/index.html b/index.html index fd081c7..73785c9 100644 --- a/index.html +++ b/index.html @@ -307,7 +307,7 @@ function Theme (client) { if (!isColor(hex)) { console.warn('Theme', `${hex} is not a valid color.`); return } this.active[key] = hex } - this.read = (key) => { + this.get = (key) => { return this.active[key] } this.parse = (any) => { diff --git a/scripts/lib/theme.js b/scripts/lib/theme.js index 0556fa0..7d4ac79 100644 --- a/scripts/lib/theme.js +++ b/scripts/lib/theme.js @@ -86,7 +86,7 @@ function Theme (client) { this.active[key] = hex } - this.read = (key) => { + this.get = (key) => { return this.active[key] }