project setup

This commit is contained in:
fzzinchemical
2025-03-25 21:24:57 +01:00
commit aa36bbb3f2
10 changed files with 701 additions and 0 deletions

9
src/logging.ts Executable file
View File

@@ -0,0 +1,9 @@
import * as stdlogger from "jsr:@std/log";
import { Message } from "npm:discordeno@18.0.1";
export function logMessage(message: Message) {
return stdlogger.info(
`Message from ${message.tag} in ${message.guildId?? "Private"} ${message.channelId} Command:[${message.content}]`
);
}