save message working without reply

This commit is contained in:
grimhilt
2023-03-16 16:14:25 +01:00
parent 520eb95d37
commit 6b96815b93
13 changed files with 240 additions and 248 deletions

View File

@@ -1,9 +1,9 @@
const DEBUG = (function() {
const timestamp = function(){};
timestamp.toString = () => "[DEBUG " + new Date().toLocaleDateString() + "]";
return { log: console.log.bind(console, "%s", timestamp) };
const DEBUG = (function () {
const timestamp = function () {};
timestamp.toString = () => "[" + new Date().toLocaleString() + "]";
return { log: console.log.bind(console, "%s", timestamp) };
})();
module.exports = {
DEBUG
}
DEBUG,
};