@twitchfy/chatbot
Version:
A powerful node module to make your own Twitch ChatBot
15 lines (14 loc) • 490 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SetPermissions = SetPermissions;
/**
* 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;
};
}