Skip to content

Commit

Permalink
fix: fix the remove reactions logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Jan 2, 2025
1 parent 84f6592 commit 8f7fe9f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion bot/src/config/guildIgnoredUsers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Snowflake } from 'discord.js';
import { Snowflake } from 'discord.js'

type GuildIgnoredUsers = Record<string, Snowflake[]>

Expand Down
10 changes: 5 additions & 5 deletions bot/src/migrations/db/deleteSpecificUserData.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import 'dotenv/config';
import 'dotenv/config'

import mongoose from 'mongoose';
import mongoose from 'mongoose'

import { DatabaseManager, Platform, PlatformNames } from '@togethercrew.dev/db';
import { DatabaseManager, Platform, PlatformNames } from '@togethercrew.dev/db'

import config from '../../config';
import parentLogger from '../../config/logger';
import config from '../../config'
import parentLogger from '../../config/logger'

const logger = parentLogger.child({ event: 'deleteSpecificUserData' })

Expand Down
8 changes: 4 additions & 4 deletions bot/src/utils/guildIgnoredUsers.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// services/ignoreUsers.service.ts
import { Snowflake } from 'discord.js';
import { Snowflake } from 'discord.js'

import { DatabaseManager, Platform } from '@togethercrew.dev/db';
import { DatabaseManager, Platform } from '@togethercrew.dev/db'

import { Guild_IGNORED_USERS } from '../config/guildIgnoredUsers';
import parentLogger from '../config/logger';
import { Guild_IGNORED_USERS } from '../config/guildIgnoredUsers'
import parentLogger from '../config/logger'

const logger = parentLogger.child({ event: 'guildIgnoreUsers' })

Expand Down

0 comments on commit 8f7fe9f

Please sign in to comment.