File tree Expand file tree Collapse file tree 2 files changed +23
-3
lines changed
Expand file tree Collapse file tree 2 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 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 ) => {
Original file line number Diff line number Diff line change 11import { defineHarmonixConfig } from '../src'
22
33export default defineHarmonixConfig ( {
4- clientId : '929023549656662047' ,
54 ownerId : [ '556083802628161546' ]
65} )
You can’t perform that action at this time.
0 commit comments