Skip to content

Commit

Permalink
Fix: more absolute paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Vliegenier04 committed Dec 12, 2024
1 parent 3289e1f commit 4823607
Show file tree
Hide file tree
Showing 14 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion src/events/mineflayer/chat/comment-blocked.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logger from 'consola';
import Emojis from '@util/emojis';
import Emojis from '../../../util/emojis';

export default {
name: 'chat:commentBlocked',
Expand Down
2 changes: 1 addition & 1 deletion src/events/mineflayer/chat/guild-chat.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { escapeMarkdown } from 'discord.js';
import getRankColor from '@util/get-rank-color';
import getRankColor from '../../../util/get-rank-color';

export default {
name: 'chat:guildChat',
Expand Down
2 changes: 1 addition & 1 deletion src/events/mineflayer/chat/guild-mute-unmute.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Emojis from '@util/emojis';
import Emojis from '../../../util/emojis';
import { escapeMarkdown } from 'discord.js';

export default {
Expand Down
2 changes: 1 addition & 1 deletion src/events/mineflayer/chat/join-leave.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Emojis from '@util/emojis';
import Emojis from '../../../util/emojis';
import { escapeMarkdown } from 'discord.js';

export default {
Expand Down
10 changes: 5 additions & 5 deletions src/events/mineflayer/chat/join-request.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import isUserBlacklisted from '@blacklist/is-user-blacklisted';
import env from '@util/env';
import fetchHypixelPlayerProfile from '@requests/fetch-hypixel-player-profile';
import fetchMojangProfile from '@requests/fetch-mojang-profile';
import isFetchError from '@requests/is-fetch-error';
import isUserBlacklisted from '../../../blacklist/is-user-blacklisted';
import env from '../../../util/env';
import fetchHypixelPlayerProfile from '../../../requests/fetch-hypixel-player-profile';
import fetchMojangProfile from '../../../requests/fetch-mojang-profile';
import isFetchError from '../../../requests/is-fetch-error';

export default {
name: 'chat:joinRequest',
Expand Down
8 changes: 4 additions & 4 deletions src/events/mineflayer/chat/member-join-leave.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Emojis from '@util/emojis';
import Emojis from '../../../util/emojis';
import { escapeMarkdown } from 'discord.js';
import fetchMojangProfile from '@requests/fetch-mojang-profile';
import isFetchError from '@requests/is-fetch-error';
import isUserBlacklisted from '@blacklist/is-user-blacklisted';
import fetchMojangProfile from '../../../requests/fetch-mojang-profile';
import isFetchError from '../../../requests/is-fetch-error';
import isUserBlacklisted from '../../../blacklist/is-user-blacklisted';
import { BotEvents } from 'mineflayer';

import getRankColor from '@util/get-rank-color';
Expand Down
8 changes: 4 additions & 4 deletions src/events/mineflayer/chat/member-kick.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import Emojis from '@util/emojis';
import Emojis from '../../../util/emojis';
import { escapeMarkdown } from 'discord.js';
import fetchMojangProfile from '@requests/fetch-mojang-profile';
import isFetchError from '@requests/is-fetch-error';
import env from '@util/env';
import fetchMojangProfile from '../../../requests/fetch-mojang-profile';
import isFetchError from '../../../requests/is-fetch-error';
import env from '../../../util/env';

export default {
name: 'chat:memberKick',
Expand Down
4 changes: 2 additions & 2 deletions src/events/mineflayer/chat/promote-demote.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { escapeMarkdown } from 'discord.js';
import Emojis from '@util/emojis';
import getRankColor from '@util/get-rank-color';
import Emojis from '../../../util/emojis';
import getRankColor from '../../../util/get-rank-color';

export default {
name: 'chat:promoteDemote',
Expand Down
2 changes: 1 addition & 1 deletion src/events/mineflayer/chat/quest-complete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Emojis from '@util/emojis';
import Emojis from '../../../util/emojis';

export default {
name: 'chat:questComplete',
Expand Down
2 changes: 1 addition & 1 deletion src/events/mineflayer/chat/quest-tier-complete.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Emojis from '@util/emojis';
import Emojis from '../../../util/emojis';

export default {
name: 'chat:questTierComplete',
Expand Down
6 changes: 3 additions & 3 deletions src/events/mineflayer/chat/whisper.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fetchHypixelGuild from '@requests/fetch-hypixel-guild';
import fetchMojangProfile from '@requests/fetch-mojang-profile';
import isFetchError from '@requests/is-fetch-error';
import fetchHypixelGuild from '../../../requests/fetch-hypixel-guild';
import fetchMojangProfile from '../../../requests/fetch-mojang-profile';
import isFetchError from '../../../requests/is-fetch-error';

export default {
name: 'chat:whisper',
Expand Down
2 changes: 1 addition & 1 deletion src/events/mineflayer/handler/kicked.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logger from 'consola';
import Emojis from '@util/emojis';
import Emojis from '../../../util/emojis';

export default {
name: 'kicked',
Expand Down
4 changes: 2 additions & 2 deletions src/events/mineflayer/handler/login.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Emojis from '@util/emojis';
import env from '@util/env';
import Emojis from '../../../util/emojis';
import env from '../../../util/env';

export default {
name: 'login',
Expand Down
2 changes: 1 addition & 1 deletion src/util/log-error.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TextChannel } from 'discord.js';
import logger from 'consola';
import env from '@util/env';
import env from '../util/env';
import bot from '..';

export default async (err: Error, message?: string) => {
Expand Down

0 comments on commit 4823607

Please sign in to comment.