wip medication and db (sqlite)
This commit is contained in:
14
src/actions/drink/drink.service.ts
Normal file
14
src/actions/drink/drink.service.ts
Normal 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" });
|
||||
}
|
||||
}
|
||||
}
|
||||
0
src/actions/drink/drink.task.ts
Normal file
0
src/actions/drink/drink.task.ts
Normal file
Reference in New Issue
Block a user