forked from Galactic/galactic-bot
even more bullshit
This commit is contained in:
parent
7121675251
commit
472d3334f9
@ -59,6 +59,7 @@ class ModerationPointsSetting extends Setting {
|
|||||||
|
|
||||||
const setting = message.guild._settings[this.index] || this.default[this.index];
|
const setting = message.guild._settings[this.index] || this.default[this.index];
|
||||||
|
|
||||||
|
// eslint-disable-next-line prefer-const
|
||||||
let [method, ...params] = args,
|
let [method, ...params] = args,
|
||||||
index = null,
|
index = null,
|
||||||
langParams = {};
|
langParams = {};
|
||||||
@ -178,10 +179,10 @@ class ModerationPointsSetting extends Setting {
|
|||||||
inline: false
|
inline: false
|
||||||
}, {
|
}, {
|
||||||
name: '》Expirations',
|
name: '》Expirations',
|
||||||
value: Object.keys(setting.expirations).map(key => `\`${key}: ${this.client.resolver.timeAgo(setting.expirations[key])}\``).join(', '),
|
value: Object.keys(setting.expirations).map(key => `\`${key}: ${setting.expirations[key] ? this.client.resolver.timeAgo(setting.expirations[key]): 'Never'}\``).join(', '),
|
||||||
inline: false
|
inline: false
|
||||||
}
|
}
|
||||||
]
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user