droplet
1.3.0
A multipurpose Discord bot with the hacker in mind
Toggle main menu visibility
Loading...
Searching...
No Matches
BotSlashCommandRegistrar.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <dpp/cluster.h>
4
5
#include "
CommandTypes.hpp
"
6
7
void
register_global_slash_commands_on_ready
(dpp::cluster& ctx,
const
slash_commands_t
& slash_commands);
register_global_slash_commands_on_ready
void register_global_slash_commands_on_ready(dpp::cluster &ctx, const slash_commands_t &slash_commands)
Definition
BotSlashCommandRegistrar.cpp:61
CommandTypes.hpp
slash_commands_t
std::map< std::string, std::shared_ptr< IGlobalSlashCommand > > slash_commands_t
Definition
CommandTypes.hpp:15
src
bot_library
bot
include
BotSlashCommandRegistrar.hpp
Generated by
1.18.0