Skip to content
This repository was archived by the owner on Oct 13, 2022. It is now read-only.

Commit 6222b93

Browse files
committed
Export builder
1 parent d445432 commit 6222b93

File tree

1 file changed

+70
-0
lines changed

1 file changed

+70
-0
lines changed

src/index.ts

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
require('module-alias/register');
2+
3+
import SlashCommandBooleanOption from '@option/SlashCommandBooleanOption';
4+
import SlashCommandChannelOption from '@option/SlashCommandChannelOption';
5+
import SlashCommandIntegerOption from '@option/SlashCommandIntegerOption';
6+
import SlashCommandMentionableOption from '@option/SlashCommandMentionableOption';
7+
import SlashCommandNumberOption from '@option/SlashCommandNumberOption';
8+
import SlashCommandRoleOption from '@option/SlashCommandRoleOption';
9+
import SlashCommandStringOption from '@option/SlashCommandStringOption';
10+
import SlashCommandUserOption from '@option/SlashCommandUserOption';
11+
12+
/*
13+
|--------------------------------------------------------------------------
14+
| Export: Interfaces
15+
|--------------------------------------------------------------------------
16+
|
17+
| ...
18+
|
19+
*/
20+
21+
export {
22+
ApplicationCommandInteractionDataOptionStructure,
23+
ApplicationCommandJSON,
24+
ApplicationCommandOptionChoiceStructure,
25+
ApplicationCommandOptionStructure,
26+
ApplicationCommandOptionTypes,
27+
ApplicationCommandStructure,
28+
ApplicationCommandTypes,
29+
ChannelTypes,
30+
Choices,
31+
Snowflake,
32+
} from '@src/interfaces';
33+
34+
/*
35+
|--------------------------------------------------------------------------
36+
| Export: Builder
37+
|--------------------------------------------------------------------------
38+
|
39+
| ...
40+
|
41+
*/
42+
43+
import { SlashCommandBuilder } from '@src/main';
44+
45+
export default SlashCommandBuilder;
46+
47+
/*
48+
|--------------------------------------------------------------------------
49+
| Export: Options
50+
|--------------------------------------------------------------------------
51+
|
52+
| ...
53+
|
54+
*/
55+
56+
export {
57+
SlashCommandSubcommand,
58+
SlashCommandSubcommandGroup,
59+
} from '@src/main';
60+
61+
export {
62+
SlashCommandBooleanOption,
63+
SlashCommandChannelOption,
64+
SlashCommandIntegerOption,
65+
SlashCommandMentionableOption,
66+
SlashCommandNumberOption,
67+
SlashCommandRoleOption,
68+
SlashCommandStringOption,
69+
SlashCommandUserOption,
70+
};

0 commit comments

Comments
 (0)