mirror of
https://github.com/ahmadk953/poixpixel-discord-bot.git
synced 2025-05-11 19:23:06 +00:00
chore: update and clean up imports
This commit is contained in:
parent
d9d5f087e7
commit
9aabe2885b
30 changed files with 78 additions and 84 deletions
|
@ -7,9 +7,9 @@ import {
|
|||
PermissionOverwrites,
|
||||
} from 'discord.js';
|
||||
|
||||
import { ChannelLogAction } from '../util/logging/types.js';
|
||||
import { Event } from '../types/EventTypes.js';
|
||||
import logAction from '../util/logging/logAction.js';
|
||||
import { ChannelLogAction } from '@/util/logging/types.js';
|
||||
import { Event } from '@/types/EventTypes.js';
|
||||
import logAction from '@/util/logging/logAction.js';
|
||||
|
||||
function arePermissionsEqual(
|
||||
oldPerms: Map<string, PermissionOverwrites>,
|
||||
|
|
|
@ -1,16 +1,15 @@
|
|||
import {
|
||||
Collection,
|
||||
Events,
|
||||
Guild,
|
||||
GuildMember,
|
||||
PartialGuildMember,
|
||||
} from 'discord.js';
|
||||
|
||||
import { updateMember, setMembers } from '../db/db.js';
|
||||
import { generateMemberBanner } from '../util/helpers.js';
|
||||
import { loadConfig } from '../util/configLoader.js';
|
||||
import { Event } from '../types/EventTypes.js';
|
||||
import logAction from '../util/logging/logAction.js';
|
||||
import { updateMember, setMembers } from '@/db/db.js';
|
||||
import { generateMemberBanner } from '@/util/helpers.js';
|
||||
import { loadConfig } from '@/util/configLoader.js';
|
||||
import { Event } from '@/types/EventTypes.js';
|
||||
import logAction from '@/util/logging/logAction.js';
|
||||
|
||||
export const memberJoin: Event<typeof Events.GuildMemberAdd> = {
|
||||
name: Events.GuildMemberAdd,
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
import { AuditLogEvent, Events, Message, PartialMessage } from 'discord.js';
|
||||
|
||||
import { Event } from '../types/EventTypes.js';
|
||||
import { loadConfig } from '../util/configLoader.js';
|
||||
import { Event } from '@/types/EventTypes.js';
|
||||
import { loadConfig } from '@/util/configLoader.js';
|
||||
import {
|
||||
addCountingReactions,
|
||||
processCountingMessage,
|
||||
resetCounting,
|
||||
} from '../util/countingManager.js';
|
||||
import logAction from '../util/logging/logAction.js';
|
||||
} from '@/util/countingManager.js';
|
||||
import logAction from '@/util/logging/logAction.js';
|
||||
import {
|
||||
checkAndAssignLevelRoles,
|
||||
processMessage,
|
||||
} from '../util/levelingSystem.js';
|
||||
} from '@/util/levelingSystem.js';
|
||||
|
||||
export const messageDelete: Event<typeof Events.MessageDelete> = {
|
||||
name: Events.MessageDelete,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { AuditLogEvent, Events, Role } from 'discord.js';
|
||||
|
||||
import { Event } from '../types/EventTypes.js';
|
||||
import logAction from '../util/logging/logAction.js';
|
||||
import { Event } from '@/types/EventTypes.js';
|
||||
import logAction from '@/util/logging/logAction.js';
|
||||
|
||||
const convertRoleProperties = (role: Role) => ({
|
||||
name: role.name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue