droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
BotSlashCommandRegistrar.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 <Bot.hpp>
11
15void register_global_slash_commands_on_ready(ctx_t& ctx, const slash_commands_t& slash_commands);
void register_global_slash_commands_on_ready(ctx_t &ctx, const slash_commands_t &slash_commands)
Definition BotSlashCommandRegistrar.cpp:57
std::map< std::string, std::shared_ptr< IGlobalSlashCommand > > slash_commands_t
Definition Bot.hpp:28
std::unique_ptr< dpp::cluster > ctx_t
Definition Bot.hpp:27