mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 07:36:56 +00:00
73b409fb88
The RegisterSlashCommand helper in api/api.lua was effectively unused (only macrotweak called it); every other command hand-rolled the SLASH_*/SlashCmdList pair. Convert the existing manual registrations to the helper with force=true, preserving the current always-bind behavior while centralizing the pattern behind one code path (and its _G. and conflict-check handling). Left as-is: pfUI.lua's /rl, /pfui, /gm (registered before api.lua defines the helper) and the vendored libs' debug commands.