Skip to content

Commit

Permalink
Update packages and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Apr 17, 2023
1 parent ffb698f commit 0e8d69f
Show file tree
Hide file tree
Showing 20 changed files with 49 additions and 46 deletions.
53 changes: 28 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "alice",
"version": "2023.411.0",
"version": "2023.417.0",
"description": "A Discord bot for osu!droid",
"main": "dist/main.js",
"scripts": {
Expand Down Expand Up @@ -33,7 +33,7 @@
"author": "Rian8337",
"license": "MIT",
"devDependencies": {
"@types/adm-zip": "^0.4.34",
"@types/adm-zip": "^0.5.0",
"@types/d3": "^6.7.0",
"@types/node": "^18.14.2",
"@types/request": "^2.48.5",
Expand All @@ -56,7 +56,7 @@
"adm-zip": "^0.5.5",
"bufferutil": "^4.0.3",
"canvas": "^2.8.0",
"consola": "^2.15.3",
"consola": "^3.0.2",
"d3": "^6.7.0",
"discord.js": "^14.8.0",
"dotenv": "^16.0.3",
Expand Down
2 changes: 1 addition & 1 deletion src/core/Bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
Partials,
Snowflake,
} from "discord.js";
import consola from "consola";
import { consola } from "consola";
import { SlashCommand } from "structures/core/SlashCommand";
import { Event } from "structures/core/Event";
import { TimeoutManager } from "@alice-utils/managers/TimeoutManager";
Expand Down
2 changes: 1 addition & 1 deletion src/database/DatabaseManager.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Db, MongoClient } from "mongodb";
import consola from "consola";
import { consola } from "consola";
import { AliceDBCollection } from "./AliceDBCollection";
import { ElainaDBCollection } from "./ElainaDBCollection";

Expand Down
2 changes: 1 addition & 1 deletion src/database/utils/elainaDb/UserBind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { ObjectId, UpdateFilter } from "mongodb";
import { UserBindCollectionManager } from "@alice-database/managers/elainaDb/UserBindCollectionManager";
import { RebalancePerformanceCalculationResult } from "@alice-utils/dpp/RebalancePerformanceCalculationResult";
import { DroidBeatmapDifficultyHelper } from "@alice-utils/helpers/DroidBeatmapDifficultyHelper";
import consola from "consola";
import { consola } from "consola";
import {
MapInfo,
DroidAPIRequestBuilder,
Expand Down
2 changes: 1 addition & 1 deletion src/events/error/utils/logError.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { EventUtil } from "structures/core/EventUtil";
import { AttachmentBuilder, TextChannel } from "discord.js";
import consola from "consola";
import { consola } from "consola";

export const run: EventUtil["run"] = async (client, error: Error) => {
const errorLogChannel: TextChannel = <TextChannel>(
Expand Down
2 changes: 1 addition & 1 deletion src/events/interactionCreate/utils/runButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { InteractionHelper } from "@alice-utils/helpers/InteractionHelper";
import { StringHelper } from "@alice-utils/helpers/StringHelper";
import { CacheManager } from "@alice-utils/managers/CacheManager";
import { CommandUtilManager } from "@alice-utils/managers/CommandUtilManager";
import consola from "consola";
import { consola } from "consola";
import { BaseInteraction } from "discord.js";
import { EventUtil } from "structures/core/EventUtil";

Expand Down
2 changes: 1 addition & 1 deletion src/events/interactionCreate/utils/runCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
CacheType,
CommandInteractionOption,
} from "discord.js";
import consola from "consola";
import { consola } from "consola";

export const run: EventUtil["run"] = async (
client,
Expand Down
2 changes: 1 addition & 1 deletion src/events/interactionCreate/utils/runContextMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CommandHelper } from "@alice-utils/helpers/CommandHelper";
import { InteractionHelper } from "@alice-utils/helpers/InteractionHelper";
import { StringHelper } from "@alice-utils/helpers/StringHelper";
import { BaseInteraction } from "discord.js";
import consola from "consola";
import { consola } from "consola";
import { GlobalCooldownKey } from "@alice-structures/core/CooldownKey";
import { CommandUtilManager } from "@alice-utils/managers/CommandUtilManager";

Expand Down
2 changes: 1 addition & 1 deletion src/events/interactionCreate/utils/runModalSubmit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CommandHelper } from "@alice-utils/helpers/CommandHelper";
import { InteractionHelper } from "@alice-utils/helpers/InteractionHelper";
import { StringHelper } from "@alice-utils/helpers/StringHelper";
import { InteractionType, ModalSubmitInteraction } from "discord.js";
import consola from "consola";
import { consola } from "consola";

export const run: EventUtil["run"] = async (
client,
Expand Down
2 changes: 1 addition & 1 deletion src/events/ready/utils/acceptNameChange.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DatabaseManager } from "@alice-database/DatabaseManager";
import consola from "consola";
import { consola } from "consola";
import { EventUtil } from "structures/core/EventUtil";

export const run: EventUtil["run"] = async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/events/ready/utils/birthdayTracking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { MessageCreator } from "@alice-utils/creators/MessageCreator";
import { CommandHelper } from "@alice-utils/helpers/CommandHelper";
import { CommandUtilManager } from "@alice-utils/managers/CommandUtilManager";
import { Collection, Guild, GuildMember, Role, Snowflake } from "discord.js";
import consola from "consola";
import { consola } from "consola";

export const run: EventUtil["run"] = async (client) => {
const interval: NodeJS.Timeout = setInterval(async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/events/ready/utils/challengeTracking.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { ChallengeCollectionManager } from "@alice-database/managers/aliceDb/Cha
import { CommandUtilManager } from "@alice-utils/managers/CommandUtilManager";
import { Config } from "@alice-core/Config";
import { OperationResult } from "structures/core/OperationResult";
import consola from "consola";
import { consola } from "consola";

export const run: EventUtil["run"] = async (client) => {
if (!Config.isDebug) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { CommandHelper } from "@alice-utils/helpers/CommandHelper";
import { DPPHelper } from "@alice-utils/helpers/DPPHelper";
import { InteractionHelper } from "@alice-utils/helpers/InteractionHelper";
import { Collection, Snowflake } from "discord.js";
import consola from "consola";
import { consola } from "consola";

export const run: SlashSubcommand<true>["run"] = async (
client,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { BeatmapManager } from "@alice-utils/managers/BeatmapManager";
import { ScanLocalization } from "@alice-localization/interactions/commands/Bot Creators/scan/ScanLocalization";
import { CommandHelper } from "@alice-utils/helpers/CommandHelper";
import { InteractionHelper } from "@alice-utils/helpers/InteractionHelper";
import consola from "consola";
import { consola } from "consola";

export const run: SlashSubcommand<true>["run"] = async (
client,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { CommandHelper } from "@alice-utils/helpers/CommandHelper";
import { InteractionHelper } from "@alice-utils/helpers/InteractionHelper";
import { MessageAnalyticsHelper } from "@alice-utils/helpers/MessageAnalyticsHelper";
import { Collection, Guild, GuildTextBasedChannel } from "discord.js";
import consola from "consola";
import { consola } from "consola";
import { ChannelActivityData } from "@alice-structures/utils/ChannelActivityData";

export const run: SlashSubcommand<true>["run"] = async (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { RecalcLocalization } from "@alice-localization/interactions/commands/os
import { MessageCreator } from "@alice-utils/creators/MessageCreator";
import { CommandHelper } from "@alice-utils/helpers/CommandHelper";
import { InteractionHelper } from "@alice-utils/helpers/InteractionHelper";
import consola from "consola";
import { consola } from "consola";

export const run: SlashSubcommand<true>["run"] = async (
client,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { CommandHelper } from "@alice-utils/helpers/CommandHelper";
import { InteractionHelper } from "@alice-utils/helpers/InteractionHelper";
import { LocaleHelper } from "@alice-utils/helpers/LocaleHelper";
import { Message } from "discord.js";
import consola from "consola";
import { consola } from "consola";

export const run: SlashSubcommand<true>["run"] = async (
client,
Expand Down
2 changes: 1 addition & 1 deletion src/recalculation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { config } from "dotenv";
import { DatabaseManager } from "@alice-database/DatabaseManager";
import { UserBindCollectionManager } from "@alice-database/managers/elainaDb/UserBindCollectionManager";
import { UserBind } from "@alice-database/utils/elainaDb/UserBind";
import consola from "consola";
import { consola } from "consola";
process.env.UV_THREADPOOL_SIZE = "128";

config();
Expand Down
2 changes: 1 addition & 1 deletion src/utils/helpers/EventHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Bot } from "@alice-core/Bot";
import { CommandUtilManager } from "@alice-utils/managers/CommandUtilManager";
import { DisabledEventUtil } from "structures/moderation/DisabledEventUtil";
import { Config } from "@alice-core/Config";
import consola from "consola";
import { consola } from "consola";

/**
* A helper class for events.
Expand Down

0 comments on commit 0e8d69f

Please sign in to comment.