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
Msg.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Msg.hpp
"
4
5
#include <string>
6
7
#include <dpp/dpp.h>
8
9
namespace
bot
10
{
11
class
Msg
12
{
13
private
:
14
static
dpp::slashcommand_t
event
;
15
16
public
:
17
static
std::string
msg
;
18
19
static
uint16_t
flags
;
20
27
Msg
(
const
dpp::slashcommand_t &
event
, std::string
msg
, uint16_t
flags
= 0);
28
33
Msg
(
const
dpp::slashcommand_t &
event
);
34
38
void
send
(
Msg
msg
);
39
43
void
send
();
44
49
void
thinking
(
Msg
msg
);
50
54
void
thinking
();
55
60
void
edit
(
Msg
msg
);
61
65
void
edit
();
66
73
dpp::message
getMsg
(std::string
msg
, uint16_t
flags
);
74
79
dpp::message
getMsg
();
80
};
81
}
82
Msg.hpp
bot::Msg::getMsg
dpp::message getMsg()
Definition
Msg.cpp:50
bot::Msg::Msg
Msg(const dpp::slashcommand_t &event, std::string msg, uint16_t flags=0)
Definition
Msg.cpp:15
bot::Msg::thinking
void thinking(Msg msg)
bot::Msg::thinking
void thinking()
Definition
Msg.cpp:31
bot::Msg::flags
static uint16_t flags
Definition
Msg.hpp:19
bot::Msg::send
void send()
Definition
Msg.cpp:28
bot::Msg::msg
static std::string msg
Definition
Msg.hpp:17
bot::Msg::event
static dpp::slashcommand_t event
Definition
Msg.hpp:14
bot::Msg::edit
void edit()
Definition
Msg.cpp:37
bot
Definition
cli.cpp:17
inc
types
Msg.hpp
Generated by
1.13.2