reorganize
This commit is contained in:
parent
0aaee0e0f1
commit
d16bec1336
6 changed files with 67 additions and 48 deletions
|
@ -15,14 +15,16 @@ export interface ModrinthProject {
|
|||
}
|
||||
|
||||
import {
|
||||
type CacheType,
|
||||
type CommandInteraction,
|
||||
EmbedBuilder,
|
||||
type CacheType,
|
||||
type ChatInputCommandInteraction,
|
||||
} from 'discord.js';
|
||||
|
||||
import { COLORS } from '../constants';
|
||||
|
||||
export const modrinthCommand = async (i: CommandInteraction<CacheType>) => {
|
||||
export const modrinthCommand = async (
|
||||
i: ChatInputCommandInteraction<CacheType>
|
||||
) => {
|
||||
await i.deferReply();
|
||||
|
||||
const { value: id } = i.options.get('id') ?? { value: null };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue