@twitchfy/chatbot
Version:
A powerful node module to make your own Twitch ChatBot
16 lines (15 loc) • 523 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SetPermissions = void 0;
/**
* Set the permissions for the command.
* @param permission The permissions to set for the command.
* @returns The decorator function.
*/
function SetPermissions(...permission) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
return (target) => class extends target {
permissions = permission;
};
}
exports.SetPermissions = SetPermissions;