Create /effects buy subcommand
Some checks failed
Test / build (push) Failing after 36s

This commit is contained in:
Ethan Lane 2025-02-06 19:33:54 +00:00
parent c6b458199c
commit 904842ae32
9 changed files with 340 additions and 79 deletions

View file

@ -0,0 +1,12 @@
import { CommandInteraction } from "../../__types__/discord.js";
export default function GenerateCommandInteractionMock(options?: {
subcommand?: string,
}): CommandInteraction {
return {
isChatInputCommand: jest.fn().mockReturnValue(true),
options: {
getSubcommand: jest.fn().mockReturnValue(options?.subcommand),
},
};
}