#include <Msg.hpp>
|
static std::string | msg |
|
static uint16_t | flags |
|
|
static dpp::slashcommand_t | event |
|
◆ Msg() [1/2]
bot::Msg::Msg |
( |
const dpp::slashcommand_t & | event, |
|
|
std::string | msg, |
|
|
uint16_t | flags = 0 ) |
Msg - Constructor Create a Msg
with the specified event
, msg
and flags
- Parameters
-
◆ Msg() [2/2]
bot::Msg::Msg |
( |
const dpp::slashcommand_t & | event | ) |
|
Msg - Constructor - Overload Create an empty Msg
- Parameters
-
◆ edit() [1/2]
Edit - Function - Overload Edit the previous message that was thought using Msg::thinking()
◆ edit() [2/2]
void bot::Msg::edit |
( |
Msg | msg | ) |
|
Edit - Function Edit the previous message that was thought using Msg::thinking()
- Parameters
-
◆ getMsg() [1/2]
dpp::message bot::Msg::getMsg |
( |
| ) |
|
Get Message - Function - Overload Get the current message from this object
- Returns
- dpp::message
◆ getMsg() [2/2]
dpp::message bot::Msg::getMsg |
( |
std::string | msg, |
|
|
uint16_t | flags ) |
Get Message - Function Get the current message with the specified msg
and flags
- Parameters
-
- Returns
- dpp::message
◆ send() [1/2]
Send - Function - Overload Send the current message
◆ send() [2/2]
void bot::Msg::send |
( |
Msg | msg | ) |
|
Send - Function Send the msg
◆ thinking() [1/2]
void bot::Msg::thinking |
( |
| ) |
|
Thinking - Function - overload When sending message takes too long, use this function, this will send a "Thinking" message and then edit it to done once the operation is done
◆ thinking() [2/2]
void bot::Msg::thinking |
( |
Msg | msg | ) |
|
Thinking - Function When sending message takes too long, use this function, this will send a "Thinking" message and then edit it to done once the operation is done
- Parameters
-
◆ event
dpp::slashcommand_t bot::Msg::event |
|
staticprivate |
◆ flags
◆ msg
std::string bot::Msg::msg |
|
static |
The documentation for this class was generated from the following files: