refactor(discord-bot): improve project structure
This commit is contained in:
9
apps/discord-bot/src/commands/result.ts
Normal file
9
apps/discord-bot/src/commands/result.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { Command } from "~/commands";
|
||||
import { getLatestQuest } from "~/services/wov";
|
||||
import { askForGrinders } from "~/utils/quest";
|
||||
|
||||
export const resultCommand: Command = async (message, args) => {
|
||||
const client = message.client;
|
||||
const quest = await getLatestQuest();
|
||||
await askForGrinders(quest, client);
|
||||
};
|
||||
Reference in New Issue
Block a user