AquinBot 1.0.2
Official AquinBot made by Team Aquin | Finaly a simple Open Source Discord bot made in C++ by Aquin
 
Loading...
Searching...
No Matches
commandValidation.cpp File Reference
#include <vector>
#include <string>
#include <tuple>
#include <map>
#include <memory>
#include "../inc/types/Error.hpp"
#include "../inc/slashCommands.hpp"

Namespaces

namespace  bot
 

Variables

std::vector< std::tuple< std::string, std::string, std::vector< Error >(*)(const dpp::slashcommand_t &, std::shared_ptr< bot::Bot > aquin), std::map< std::string, std::pair< std::string, bool > >, std::map< std::string, std::string > > > bot::slashCommandValidations
 Validate the commands here, check src/commandValidation.cpp for reference.