remove unused imports
All checks were successful
release-tag / release-image (push) Successful in 23s

This commit is contained in:
2025-01-13 01:24:05 +01:00
parent 0341a70746
commit 50d8d9347c
3 changed files with 31 additions and 31 deletions

View File

@@ -1,9 +1,6 @@
import { Commands, type CommandsType } from "commands";
import {
ChannelType,
Client,
Events,
IntentsBitField,
type ButtonInteraction,
type CacheType,
type ChatInputCommandInteraction,
@@ -13,7 +10,6 @@ import {
import client from "lib/client";
import EventEmitter from "node:events";
import DiscordService from "services/discord.service";
import config from "config";
import { WaterMeService } from "actions/waterMe/waterMe.service";
import { MedicationService } from "actions/medication/medication.service";
import { HelpService } from "actions/help/help.service";
@@ -52,9 +48,8 @@ export default class DiscordController extends EventEmitter {
client.on("interactionCreate", this.handleInteraction.bind(this));
client.on("messageCreate", async (message) => {
console.log(message.id)
if (message.channel.type === ChannelType.DM
) {
console.log(message.id);
if (message.channel.type === ChannelType.DM) {
console.log("got msg");
this.dmService.forward(message);
}