AlexzanderFlores / WOKCommands

132 stars 61 forks source link

Add voiceOnly parameter to command properties #216

Closed Olebeh closed 1 year ago

Olebeh commented 2 years ago

This option allows the user to decide whether the command can be executed without being present in the voice channel. If set to true, command can't be executed while user is not in the voice channel. Else if false, it just does nothing. Example:


export default {
   voiceOnly: true
} as ICommand