From ab540c0f743b2e72285ed24ddda4f34a7fbd560c Mon Sep 17 00:00:00 2001 From: neauoire Date: Thu, 26 Mar 2020 09:32:58 +0900 Subject: [PATCH] Updated theme --- index.html | 2 +- scripts/lib/theme.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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] }