droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
SetNotificationCommand.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
11#include <IReady.hpp>
12#include <string_view>
13
14struct AppContext;
17
19 public:
20 static constexpr std::string_view k_name{"youtube_uploads"};
21 static constexpr std::string_view k_description{"Get notifications about youtube uploads to discord (Admin only!)"};
22
24
25 void on_slashcommand(const dpp::slashcommand_t& event) override;
26 void on_ready(const dpp::ready_t& event) override;
27
28 private:
29 dpp::cluster& discord_;
32};
Definition DatabaseExecutor.hpp:14
Definition IGlobalSlashCommand.hpp:6
Definition IReady.hpp:6
SetNotificationCommand(AppContext &ctx)
Definition SetNotificationCommand.cpp:19
void on_slashcommand(const dpp::slashcommand_t &event) override
Definition SetNotificationCommand.cpp:30
static constexpr std::string_view k_description
Definition SetNotificationCommand.hpp:21
static constexpr std::string_view k_name
Definition SetNotificationCommand.hpp:20
void on_ready(const dpp::ready_t &event) override
Definition SetNotificationCommand.cpp:68
Definition YoutubeNotificationService.hpp:17
Definition AppContext.hpp:12