DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
DiscordCoreAPI::BaseFunctionArguments Struct Reference

Base arguments for the command classes. More...

#include <FoundationEntities.hpp>

Inheritance diagram for DiscordCoreAPI::BaseFunctionArguments:
[legend]

Public Data Members

DiscordCoreClientdiscordCoreClient { nullptr }
 A pointer to the instance of DiscordCoreClient.
 

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::CommandData
ChannelData getChannelData () noexcept
 Returns the Channel of this input-event.
 
JsonifierValue getCommandArguments () noexcept
 Returns the collection of command inputs/options for this command.
 
std::string getCommandName () noexcept
 Returns the name of this entered command.
 
DiscordCoreClientgetDiscordCoreClient () noexcept
 Returns a pointer to the currently active DiscordCoreClient class.
 
GuildData getGuildData () noexcept
 Returns the Guild of this input-event.
 
GuildMemberData getGuildMemberData () noexcept
 Returns the GuildMember of this input-event.
 
InputEventData getInputEventData () noexcept
 Returns the InputEventData for this command.
 
InteractionData getInteractionData () noexcept
 Returns the Interaction data, if appplicable, of this input-event.
 
MessageData getMessageData () noexcept
 Returns the Message data, if applicable, of this input-event.
 
std::string getSubCommandGroupName () noexcept
 Returns the subcommand-name of this entered command group.
 
std::string getSubCommandName () noexcept
 Returns the subcommand-name of this entered command.
 
UserData getUserData () noexcept
 Returns the User of this input-event.
 

The documentation for this struct was generated from the following files: