Implement self-role panel management with BullMQ integration
- 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.
This commit is contained in:
@@ -4,5 +4,9 @@ export { registerSelfRoleEvents } from './reactions.js';
|
||||
export {
|
||||
expireSelfRole,
|
||||
scheduleSelfRoleExpiry,
|
||||
cancelSelfRoleExpiry
|
||||
cancelSelfRoleExpiry,
|
||||
runSelfRolePanelCreateJob,
|
||||
runSelfRolePanelUpdateJob,
|
||||
runSelfRolePanelDeleteJob,
|
||||
SelfRoleError
|
||||
} from './service.js';
|
||||
|
||||
Reference in New Issue
Block a user