16 lines
286 B
C++

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