Skip to content

Commit

Permalink
MLv2 v1.8.28
Browse files Browse the repository at this point in the history
  • Loading branch information
1Lighty authored Mar 28, 2024
1 parent 7876ffa commit e648e4e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Plugins/MessageLoggerV2/MessageLoggerV2.plugin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @name MessageLoggerV2
* @version 1.8.27
* @version 1.8.28
* @invite NYvWdN5
* @donate https://paypal.me/lighty13
* @website https://1lighty.github.io/BetterDiscordStuff/?plugin=MessageLoggerV2
Expand Down Expand Up @@ -44,7 +44,7 @@ module.exports = class MessageLoggerV2 {
return 'MessageLoggerV2';
}
getVersion() {
return '1.8.27';
return '1.8.28';
}
getAuthor() {
return 'Lighty';
Expand Down Expand Up @@ -77,7 +77,7 @@ module.exports = class MessageLoggerV2 {
let iZeresPluginLibrary = BdApi.Plugins.get('ZeresPluginLibrary');
if (iXenoLib && iXenoLib.instance) iXenoLib = iXenoLib.instance;
if (iZeresPluginLibrary && iZeresPluginLibrary.instance) iZeresPluginLibrary = iZeresPluginLibrary.instance;
if (isOutOfDate(iXenoLib, '1.4.11')) XenoLibOutdated = true;
if (isOutOfDate(iXenoLib, '1.4.15')) XenoLibOutdated = true;
if (isOutOfDate(iZeresPluginLibrary, '2.0.3')) ZeresPluginLibraryOutdated = true;
}
if (!global.XenoLib || !global.ZeresPluginLibrary || XenoLibOutdated || ZeresPluginLibraryOutdated) {
Expand Down Expand Up @@ -3105,7 +3105,7 @@ module.exports = class MessageLoggerV2 {
ZeresPluginLibrary.WebpackModules.getModule(e => {
for (const val of Object.values(e)) {
if (typeof val !== 'function') continue;
if (val.Colors && val.prototype.shouldShowTooltip) {
if (val.Colors && val.prototype?.shouldShowTooltip) {
ret = val;
return true;
}
Expand Down Expand Up @@ -3205,7 +3205,7 @@ module.exports = class MessageLoggerV2 {
noSuffix
? null
: ZeresPluginLibrary.DiscordModules.React.createElement(SuffixEdited, {
timestamp: this.tools.createMomentObject(edit.time)
timestamp: new Date(edit.time)
})
)
)
Expand Down

0 comments on commit e648e4e

Please sign in to comment.