7 lines
226 B
TypeScript
7 lines
226 B
TypeScript
import { Client } from "discord.js";
|
|
|
|
export default async (client: Client<true>) => {
|
|
const applicationCommands = await client.application.commands;
|
|
await applicationCommands.fetch();
|
|
return applicationCommands;
|
|
} |