This commit is contained in:
Dragon Fire
2021-02-01 21:53:43 -05:00
parent 50de60cd1f
commit d16a3439cd
+1 -1
View File
@@ -112,7 +112,7 @@ module.exports = class XiaoClient extends CommandoClient {
let text = '{';
for (const command of this.registry.commands.values()) {
if (command.lastRun === undefined) continue;
text += `\n "${command.name}": "${command.lastRun ? command.lastRun.toISOString() : null}",`;
text += `\n "${command.name}": ${command.lastRun ? `"${command.lastRun.toISOString()}"` : null},`;
}
text = text.slice(0, -1);
text += '\n}\n';