Skip to content

Commit 0c69155

Browse files
committed
chore: update playground details
1 parent e1be061 commit 0c69155

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

playground/commands/info.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default defineCommand(
1717
(interaction, ctx) => {
1818
const { user, server } = ctx.options
1919
const { hello } = useButtons()
20-
const row = useActionRow(hello!)
20+
const row = useActionRow(hello)
2121

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

playground/components/modals/form.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ export default defineModal(
1212
hobbies: {
1313
label: 'Hobbies',
1414
style: 'Paragraph',
15-
placeholder: 'Enter your hobbies'
15+
placeholder: 'Enter your hobbies',
16+
required: false
1617
}
1718
}
1819
},

playground/harmonix.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { defineHarmonixConfig } from '../src'
22

33
export default defineHarmonixConfig({
4-
client: {
5-
intents: ['Guilds']
6-
}
4+
client: {
5+
intents: ['Guilds']
6+
}
77
})

0 commit comments

Comments
 (0)