droplet
1.3.0
A multipurpose Discord bot with the hacker in mind
Toggle main menu visibility
Loading...
Searching...
No Matches
SetStatus.hpp
Go to the documentation of this file.
1
/*
2
* (c) Copyright erarnitox.de - All rights reserved
3
* Author: Erarnitox <david@erarnitox.de>
4
*
5
* License: MIT License
6
*/
7
8
#pragma once
9
10
#include <
IReady.hpp
>
11
12
struct
AppContext
;
13
14
class
SetStatus
:
public
IReady
{
15
public
:
16
explicit
SetStatus
(
AppContext
& ctx);
17
18
void
on_ready
(
const
dpp::ready_t& event)
override
;
19
20
private
:
21
dpp::cluster& discord_;
22
};
IReady.hpp
IReady
Definition
IReady.hpp:6
SetStatus::on_ready
void on_ready(const dpp::ready_t &event) override
Definition
SetStatus.cpp:21
SetStatus::SetStatus
SetStatus(AppContext &ctx)
Definition
SetStatus.cpp:18
AppContext
Definition
AppContext.hpp:12
src
bot_library
commands
set_status
SetStatus.hpp
Generated by
1.18.0