- Introduced a new `selfroles` queue to handle self-role panel creation, updates, and deletions via BullMQ jobs. - Added types for self-role panel jobs, enhancing type safety and clarity in job handling. - Implemented functions to create, update, and delete self-role panels, ensuring synchronization between the WebUI and Discord. - Enhanced error handling for self-role panel operations, providing better feedback in case of failures. - Updated the WebUI API to support self-role panel management, including error responses for synchronization issues.
13 lines
397 B
TypeScript
13 lines
397 B
TypeScript
export { selfrolesCommands } from './commands.js';
|
|
export { isSelfRoleInteraction, handleSelfRoleInteraction } from './interactions.js';
|
|
export { registerSelfRoleEvents } from './reactions.js';
|
|
export {
|
|
expireSelfRole,
|
|
scheduleSelfRoleExpiry,
|
|
cancelSelfRoleExpiry,
|
|
runSelfRolePanelCreateJob,
|
|
runSelfRolePanelUpdateJob,
|
|
runSelfRolePanelDeleteJob,
|
|
SelfRoleError
|
|
} from './service.js';
|