remove unused imports
All checks were successful
release-tag / release-image (push) Successful in 23s
All checks were successful
release-tag / release-image (push) Successful in 23s
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user