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
9namespace 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
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
dpp::message getMsg()
Definition Msg.cpp:50
Msg(const dpp::slashcommand_t &event, std::string msg, uint16_t flags=0)
Definition Msg.cpp:15
void thinking(Msg msg)
void thinking()
Definition Msg.cpp:31
static uint16_t flags
Definition Msg.hpp:19
void send()
Definition Msg.cpp:28
static std::string msg
Definition Msg.hpp:17
static dpp::slashcommand_t event
Definition Msg.hpp:14
void edit()
Definition Msg.cpp:37
Definition cli.cpp:17