#pragma once #define CMD_PREFIX '/' #include "core/Core.hpp" #include #include namespace Chat { extern std::vector dump; void init(); void sendServerMessage(CNSocket* sock, std::string msg); // uses MOTD std::string sanitizeText(std::string text, bool allowNewlines=false); }