Skip to content

Commit 95f8843

Browse files
committed
test: playground
1 parent 8f504f7 commit 95f8843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/preconditions/ownerOnly.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default definePrecondition(({ interaction }) => {
44
const harmonix = useHarmonix()
55
const authorId = interaction.member?.user.id
66

7-
if (authorId && !harmonix.options.ownerId.includes(authorId)) {
7+
if (authorId && !harmonix.options.ownerIds.includes(authorId)) {
88
interaction?.reply('You are not the owner of this bot!')
99
return false
1010
}

0 commit comments

Comments
 (0)