diff --git a/src/commands/testCommand.ts b/src/commands/testCommand.ts index e2291ea..e095dab 100644 --- a/src/commands/testCommand.ts +++ b/src/commands/testCommand.ts @@ -7,20 +7,7 @@ import { EmbedBuilder, ChatInputCommandInteraction, SlashCommandBuilder, Client } from "discord.js"; import axios from "axios"; -import { - getBuggiemagnify, - getBuggus, - getLibjs, - getMakemore, - getNeoyak, - getPoggie, - getSadCaret, - getSkeleyak, - getYak, - getYakslice, - getYaksplode, - getYakstack, -} from "@/util/emoji"; +import { getLadybird, getMakemore, getSadCaret } from "@/util/emoji"; import Command from "./command"; import githubAPI from "@/apis/githubAPI"; @@ -155,25 +142,25 @@ export class TestCommand extends Command { case "total": return "๐Ÿงช"; case "passed": - return (await getPoggie(client))?.toString() ?? label; + return "โœ…"; case "failed": - return (await getYak(client))?.toString() ?? label; + return "โŒ"; case "skipped": - return (await getBuggiemagnify(client))?.toString() ?? label; + return "โš ๏ธ"; case "metadata_error": - return (await getBuggus(client))?.toString() ?? label; + return "๐Ÿ“„"; case "harness_error": - return (await getYakslice(client))?.toString() ?? label; + return "โš™๏ธ"; case "timeout_error": - return (await getSkeleyak(client))?.toString() ?? label; + return "๐Ÿ’€"; case "process_error": - return (await getYaksplode(client))?.toString() ?? label; + return "๐Ÿ’ฅ๏ธ"; case "runner_exception": - return (await getNeoyak(client))?.toString() ?? label; + return "๐Ÿ"; case "todo_error": - return (await getYakstack(client))?.toString() ?? label; + return "๐Ÿ“"; case "percentage_passing": - return (await getLibjs(client))?.toString() ?? label; + return (await getLadybird(client))?.toString() ?? label; default: return label; } diff --git a/src/util/emoji.ts b/src/util/emoji.ts index a73f410..07230d2 100644 --- a/src/util/emoji.ts +++ b/src/util/emoji.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021, the SerenityOS & Ladybird developers. + * Copyright (c) 2021-2024, the SerenityOS & Ladybird developers. * Copyright (c) 2024, versecafe * * SPDX-License-Identifier: BSD-2-Clause @@ -85,6 +85,11 @@ export async function getNeoyak(clientOrParent: ClientOrParent): Promise { + return await getEmoji(clientOrParent, "ladybird"); +} + /** Alias function for the :libjs: emoji */ export async function getLibjs(clientOrParent: ClientOrParent): Promise { return await getEmoji(clientOrParent, "libjs");