Update debug.ts

This commit is contained in:
OTKUSteyler 2026-01-02 09:34:41 +00:00 • committed by GitHub
parent e0a85bb003
commit e9e8efbb66
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -29,13 +29,11 @@ export default () =>
`> Device: ${info.device.model}`,
].join("\n");
if (ephemeral?.value) {
messageUtil.sendBotMessage(ctx.channel.id, content);
} else {
const fixNonce = Date.now().toString();
messageUtil.sendMessage(ctx.channel.id, { content }, void 0, {
nonce: fixNonce,
});
}
},
};
if (ephemeral?.value) {
messageUtil.sendBotMessage(ctx.channel.id, content);
} else {
const fixNonce = (BigInt(Date.now() - 1420070400000) << 22n).toString();
messageUtil.sendMessage(ctx.channel.id, { content }, void 0, {nonce:fixNonce});
}
}
};