Scripting a Direct Connect hub: bots and Lua
Most hub software can be extended with scripts. Scripts let you automate moderation, add bots and custom commands, greet users, enforce rules, log activity, and connect the hub to other services.
Languages
Lua is the common scripting language: PtokaX, Verlihub, Luadch, and ADCH++ all use it, and ADCH++ also supports Python. uHub uses C plugins. Whichever software you pick, its scripting language is worth weighing if you plan to customize a lot.
Each project ships its own scripting API and example scripts. See your software's documentation and its community for what is possible and for ready-made scripts.