i18n waterMe
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
import { WaterMeService } from "@avocadi/bot-core/features/water-me/water-me.service";
|
||||
import { i18nService } from "@avocadi/bot-core/lib/i18n";
|
||||
import { messagesService } from "entitites/messages/messages.service";
|
||||
|
||||
export const waterMeService = new WaterMeService(messagesService);
|
||||
export const waterMeService = new WaterMeService(
|
||||
messagesService,
|
||||
i18nService,
|
||||
"de",
|
||||
);
|
||||
|
||||
@@ -3,5 +3,5 @@ import { logger } from "lib/common-logger";
|
||||
|
||||
export const handleShutdown = async () => {
|
||||
logger.info("bot is shutting down...");
|
||||
await logChannelService.sendLogMessage("ich geh schlafen...");
|
||||
await logChannelService.sendLogMessage("**S H U T T I N G D O W N**");
|
||||
};
|
||||
|
||||
@@ -1,4 +1,9 @@
|
||||
import { WaterMeService } from "@avocadi/bot-core/features/water-me/water-me.service";
|
||||
import { i18nService } from "@avocadi/bot-core/lib/i18n";
|
||||
import { messagesService } from "entities/messages/messages.service";
|
||||
|
||||
export const waterMeService = new WaterMeService(messagesService);
|
||||
export const waterMeService = new WaterMeService(
|
||||
messagesService,
|
||||
i18nService,
|
||||
"en",
|
||||
);
|
||||
|
||||
@@ -5,7 +5,7 @@ import client from "lib/client";
|
||||
import { logger } from "lib/common-logger";
|
||||
|
||||
client.on(Events.Ready, async () => {
|
||||
await logChannelService.sendLogMessage("wieder online!!!");
|
||||
await logChannelService.sendLogMessage("**O N L I N E**");
|
||||
|
||||
logger.info("bot is online");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user