droplet
1.3.0
A multipurpose Discord bot with the hacker in mind
Toggle main menu visibility
Loading...
Searching...
No Matches
AppContext.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <dpp/cluster.h>
4
5
#include "
CommandTypes.hpp
"
6
7
class
BlacklistIndex
;
8
class
DatabaseExecutor
;
9
class
PortalIndex
;
10
class
YoutubeNotificationService
;
11
12
struct
AppContext
{
13
dpp::cluster&
discord
;
14
DatabaseExecutor
&
db
;
15
PortalIndex
&
portal_index
;
16
BlacklistIndex
&
blacklist_index
;
17
YoutubeNotificationService
&
youtube
;
18
slash_commands_t
&
slash_commands
;
19
};
CommandTypes.hpp
slash_commands_t
std::map< std::string, std::shared_ptr< IGlobalSlashCommand > > slash_commands_t
Definition
CommandTypes.hpp:15
BlacklistIndex
Definition
PortalIndex.hpp:23
DatabaseExecutor
Definition
DatabaseExecutor.hpp:14
PortalIndex
Definition
PortalIndex.hpp:11
YoutubeNotificationService
Definition
YoutubeNotificationService.hpp:17
AppContext
Definition
AppContext.hpp:12
AppContext::youtube
YoutubeNotificationService & youtube
Definition
AppContext.hpp:17
AppContext::portal_index
PortalIndex & portal_index
Definition
AppContext.hpp:15
AppContext::blacklist_index
BlacklistIndex & blacklist_index
Definition
AppContext.hpp:16
AppContext::discord
dpp::cluster & discord
Definition
AppContext.hpp:13
AppContext::db
DatabaseExecutor & db
Definition
AppContext.hpp:14
AppContext::slash_commands
slash_commands_t & slash_commands
Definition
AppContext.hpp:18
src
bot_library
bot
include
AppContext.hpp
Generated by
1.18.0