Skip to content

Commit 726d271

Browse files
committed
chore(playground): regroups components
1 parent 8699bac commit 726d271

File tree

5 files changed

+5
-27
lines changed

5 files changed

+5
-27
lines changed

β€Žplayground/commands/info.tsβ€Ž

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,14 @@ export default defineCommand(
1010
},
1111
server: {
1212
type: 'SubCommand',
13-
description: 'Get information about the server',
14-
options: {
15-
role: {
16-
type: 'Role',
17-
description: 'The role to get information about'
18-
},
19-
caca: {
20-
type: 'String',
21-
description: 'caca'
22-
}
23-
}
13+
description: 'Get information about the server'
2414
}
2515
}
2616
},
2717
(interaction, ctx) => {
2818
const { user, server } = ctx.options
2919
const { hello } = useButtons()
30-
const row = useActionRow(hello!, hello!)
20+
const row = useActionRow(hello!)
3121

3222
if (user) {
3323
return interaction.reply({ content: 'User info', components: [row] })

β€Žplayground/buttons/hello.tsβ€Ž renamed to β€Žplayground/components/buttons/hello.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineButton } from '../../src'
1+
import { defineButton } from '../../../src'
22

33
export default defineButton(
44
{

β€Žplayground/modals/form.tsβ€Ž renamed to β€Žplayground/components/modals/form.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineModal } from '../../src'
1+
import { defineModal } from '../../../src'
22

33
export default defineModal(
44
{

β€Žplayground/select-menus/choose.tsβ€Ž renamed to β€Žplayground/components/select-menus/choose.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineSelectMenu, useEmbed } from '../../src'
1+
import { defineSelectMenu, useEmbed } from '../../../src'
22

33
export default defineSelectMenu(
44
{

β€Žplayground/preconditions/ownerOnly.tsβ€Ž

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
Β (0)