droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
AddResourcesCommand.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 <string_view>
12
13struct AppContext;
15
17 public:
18 static constexpr std::string_view k_name{"add_resource"};
19 static constexpr std::string_view k_description{"Add resource to droplet.erarnitox.de/resources"};
20
21 explicit AddResourcesCommand(AppContext& ctx);
22
23 void on_slashcommand(const dpp::slashcommand_t& event) override;
24
25 private:
26 dpp::cluster& discord_;
28};
static constexpr std::string_view k_description
Definition AddResourcesCommand.hpp:19
AddResourcesCommand(AppContext &ctx)
Definition AddResourcesCommand.cpp:25
void on_slashcommand(const dpp::slashcommand_t &event) override
Definition AddResourcesCommand.cpp:54
static constexpr std::string_view k_name
Definition AddResourcesCommand.hpp:18
Definition DatabaseExecutor.hpp:14
Definition IGlobalSlashCommand.hpp:6
Definition AppContext.hpp:12