From c2ef0d07d52a104698601f36e1977e964cf30628 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sat, 9 Jan 2021 22:07:56 +0100 Subject: [PATCH] Update CustomStatusPresets.plugin.js --- .../CustomStatusPresets/CustomStatusPresets.plugin.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Plugins/CustomStatusPresets/CustomStatusPresets.plugin.js b/Plugins/CustomStatusPresets/CustomStatusPresets.plugin.js index aa4dd7e279..cb4ab4f315 100644 --- a/Plugins/CustomStatusPresets/CustomStatusPresets.plugin.js +++ b/Plugins/CustomStatusPresets/CustomStatusPresets.plugin.js @@ -14,8 +14,13 @@ module.exports = (_ => { "info": { "name": "CustomStatusPresets", "author": "DevilBro", - "version": "1.0.1", + "version": "1.0.2", "description": "Allows you to save custom statuses as quick select" + }, + "changeLog": { + "fixed": { + "First Bugs": "All bugs in the first test phase should be fixed" + } } }; @@ -182,7 +187,7 @@ module.exports = (_ => { BDFDB.LibraryModules.SettingsUtils.updateRemoteSettings({ customStatus: { text: presets[key].text.length > 0 ? presets[key].text : null, - expiresAt: expiresAt ? BDFDB_Global.DiscordObjects.Timestamp().add(expiresAt, "ms").toISOString() : null, + expiresAt: expiresAt ? BDFDB.DiscordObjects.Timestamp().add(expiresAt, "ms").toISOString() : null, emojiId: presets[key].emojiInfo ? presets[key].emojiInfo.id : null, emojiName: presets[key].emojiInfo ? presets[key].emojiInfo.name : null }