We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f504f7 commit 95f8843Copy full SHA for 95f8843
playground/preconditions/ownerOnly.ts
@@ -4,7 +4,7 @@ export default definePrecondition(({ interaction }) => {
4
const harmonix = useHarmonix()
5
const authorId = interaction.member?.user.id
6
7
- if (authorId && !harmonix.options.ownerId.includes(authorId)) {
+ if (authorId && !harmonix.options.ownerIds.includes(authorId)) {
8
interaction?.reply('You are not the owner of this bot!')
9
return false
10
}
0 commit comments