wip medication and db (sqlite)

This commit is contained in:
Moritz Riese
2024-12-28 20:09:43 +01:00
parent 06ef16581c
commit 03d36358bf
19 changed files with 191 additions and 46 deletions

View File

@@ -0,0 +1,14 @@
import config from "config";
import client from "lib/client";
export class GreetingService {
async greet() {
const channels = client.channels;
const channel = channels.cache.get(config.discord.channelId);
if (channel?.isTextBased && channel?.isSendable()) {
await channel.send({ content: "HALLOOOO" });
}
}
}

View File