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
15
void
register_global_slash_commands_on_ready
(
ctx_t
& ctx,
const
slash_commands_t
& slash_commands);
register_global_slash_commands_on_ready
void register_global_slash_commands_on_ready(ctx_t &ctx, const slash_commands_t &slash_commands)
Definition
BotSlashCommandRegistrar.cpp:57
Bot.hpp
slash_commands_t
std::map< std::string, std::shared_ptr< IGlobalSlashCommand > > slash_commands_t
Definition
Bot.hpp:28
ctx_t
std::unique_ptr< dpp::cluster > ctx_t
Definition
Bot.hpp:27
src
bot_library
bot
include
BotSlashCommandRegistrar.hpp
Generated by
1.16.1