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
bot::commands Namespace Reference

Functions

std::vector< ErrorcommandIsOnWork (const dpp::slashcommand_t &event, std::shared_ptr< bot::Bot > aquin)
 Replies Msg when the command is on work.
 
std::vector< Errorping (const dpp::slashcommand_t &event, std::shared_ptr< bot::Bot > aquin)
 Returns pong.
 
std::vector< Errorannounce (const dpp::slashcommand_t &event, std::shared_ptr< bot::Bot > aquin)
 Announce something to someones DMs.
 
std::vector< Errorinfo (const dpp::slashcommand_t &event, std::shared_ptr< bot::Bot > aquin)
 Returns the info about Aquin and more.
 
std::vector< ErrorsetStatus (const dpp::slashcommand_t &event, std::shared_ptr< bot::Bot > aquin)
 Set the status of the bot.
 

Function Documentation

◆ announce()

std::vector< Error > bot::commands::announce ( const dpp::slashcommand_t & event,
std::shared_ptr< bot::Bot > aquin )

Announce something to someones DMs.

Announce - Function Command named announce

Parameters
event
aquin
Returns
std::vector<Error>

◆ commandIsOnWork()

std::vector< Error > bot::commands::commandIsOnWork ( const dpp::slashcommand_t & event,
std::shared_ptr< bot::Bot > aquin )

Replies Msg when the command is on work.

Command is on work - Function

Parameters
event
aquin
Returns
std::vector<Error>

◆ info()

std::vector< Error > bot::commands::info ( const dpp::slashcommand_t & event,
std::shared_ptr< bot::Bot > aquin )

Returns the info about Aquin and more.

Info - Function Command named info

Parameters
event
aquin
Returns
std::vector<Error>

◆ ping()

std::vector< Error > bot::commands::ping ( const dpp::slashcommand_t & event,
std::shared_ptr< bot::Bot > aquin )

Returns pong.

Ping - Function Command named ping

Parameters
event
aquin
Returns
std::vector<Error>

◆ setStatus()

std::vector< Error > bot::commands::setStatus ( const dpp::slashcommand_t & event,
std::shared_ptr< bot::Bot > aquin )

Set the status of the bot.

Set status - Function Command named setstatus

Parameters
event
aquin
Returns
std::vector<Error>