Skip to content

Commit

Permalink
optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmatthis committed Jan 25, 2024
1 parent 89bd92e commit 63bacdc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ import { Attachment } from 'discord.js';
import { OpenaiAudioService } from '../../../../core/ai/openai/openai-audio.service';
import axios from 'axios';
import * as path from 'path';
import * as fs from 'fs';
import { createReadStream, createWriteStream } from 'fs';
import { promisify } from 'util';
import * as stream from 'stream';
import * as fs from 'fs';

@Injectable()
export class DiscordAttachmentService {
constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@ import {
TargetMessage,
} from 'necord';
import { DiscordTextDto } from '../../dto/discord-text.dto';
import {
CacheType,
ChatInputCommandInteraction,
EmbedBuilder,
Message,
ThreadChannel,
userMention,
} from 'discord.js';
import { EmbedBuilder, Message, ThreadChannel, userMention } from 'discord.js';
import { DiscordMessageService } from './discord-message.service';
import { DiscordOnMessageService } from '../events/discord-on-message.service';

Expand Down
1 change: 0 additions & 1 deletion src/main/main.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { SlackModule } from '../interfaces/slack/slack.module';
import { MainController } from './main.controller';
import { ConfigModule } from '@nestjs/config';
import { DiscordModule } from '../interfaces/discord/discord.module';
import { DatabaseModule } from '../core/database/database.module';

@Module({
imports: [
Expand Down

0 comments on commit 63bacdc

Please sign in to comment.