Skip to content

Commit

Permalink
Cleanup locale-clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Oct 13, 2024
1 parent e060471 commit 1e421c8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import { CommandHelper } from "@alice-utils/helpers/CommandHelper";
import { InteractionHelper } from "@alice-utils/helpers/InteractionHelper";

export const run: SlashSubcommand<true>["run"] = async (_, interaction) => {
const localization: LocaleLocalization = new LocaleLocalization(
const localization = new LocaleLocalization(
CommandHelper.getLocale(interaction),
);

const constantsLocalization: ConstantsLocalization =
const constantsLocalization =
new ConstantsLocalization(localization.language);

const scope: string = interaction.options.getString("scope", true);
const scope = interaction.options.getString("scope", true);

let result: OperationResult;

Expand Down

0 comments on commit 1e421c8

Please sign in to comment.