DarkflameServer/dWorldServer
Aaron Kimbrell feeac2e041
feat: refactor slash commands system into more scalable system (#1510)
* WIP, but working

* Scaffolding

* testing and making it compile again

* move all commands to functions

* renaming to compile

* fix failing tests

idk how these werent failing before.  Seems to have been magic.

* move commandss into their namespace
make help command useful
fix mac error

TODO: remove the multiple not founds/ rework the structure to split into help and handling

* Just need to fill out the fields, but it's all there templated

* Add all aliases, register missing commands

* All help text

* remove test logs

* improvements

pass through added code for optimizations and cleanup as well as reduce the amount of scoping for readability and maintainability

* Update SlashCommandHandler.cpp

* only save command if it is a GM command

* simplify if checks

* remove broken delimiter

* Update SlashCommandHandler.cpp

* Update SlashCommandHandler.cpp

---------

Co-authored-by: David Markowitz <EmosewaMC@gmail.com>
2024-04-08 15:11:59 -05:00
..
CMakeLists.txt fix: Dissolve more CMake dependencies (#1387) 2024-03-05 20:13:24 -06:00
PerformanceManager.cpp Move CDClientManager to be a namespace (#1431) 2024-02-08 23:40:43 -06:00
PerformanceManager.h Update WorldServer timings 2022-12-16 03:46:38 -08:00
WorldServer.cpp feat: refactor slash commands system into more scalable system (#1510) 2024-04-08 15:11:59 -05:00