Skip to content

Commit 7115f74

Browse files
committed
test: playground
1 parent 1ea604b commit 7115f74

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

playground/commands/utils/noop.ts

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,29 @@
1-
import { defineCommand } from '../../../src'
1+
import { ChannelType } from 'discord.js'
2+
import { defineArgument, defineCommand } from '../../../src'
23

3-
export default defineCommand<false>(
4+
export default defineCommand(
45
{
6+
slash: true,
57
description: 'NOOP!',
8+
args: [
9+
defineArgument({
10+
name: 'noop',
11+
type: 'Integer',
12+
description: 'NOOP!',
13+
metadata: {
14+
choices: [
15+
{
16+
name: '1',
17+
value: 1
18+
},
19+
{
20+
name: '2',
21+
value: 2
22+
}
23+
]
24+
}
25+
})
26+
],
627
preconditions: ['nsfw']
728
},
829
(_, message) => {

playground/harmonix.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { defineHarmonixConfig } from '../src'
22

33
export default defineHarmonixConfig({
4-
clientId: '929023549656662047',
54
ownerId: ['556083802628161546']
65
})

0 commit comments

Comments
 (0)