droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
ReactionRoleRepository Class Reference

#include <ReactionRoleRepository.hpp>

Inheritance diagram for ReactionRoleRepository:
Collaboration diagram for ReactionRoleRepository:

Public Member Functions

bool create (const ReactionRoleDTO &object) override
 
bool remove (size_t message_id) override
 
ReactionRoleDTO get (size_t message_id) override
 
ReactionRoleDTO get (size_t message_id, const std::string &emoji)
 
bool update (const ReactionRoleDTO &object) override
 
- Public Member Functions inherited from IRepository< ReactionRoleDTO >

Member Function Documentation

◆ create()

bool ReactionRoleRepository::create ( const ReactionRoleDTO & object)
nodiscardoverridevirtual

◆ get() [1/2]

ReactionRoleDTO ReactionRoleRepository::get ( size_t message_id)
nodiscardoverridevirtual

◆ get() [2/2]

ReactionRoleDTO ReactionRoleRepository::get ( size_t message_id,
const std::string & emoji )
nodiscard

◆ remove()

bool ReactionRoleRepository::remove ( size_t message_id)
nodiscardoverridevirtual

◆ update()

bool ReactionRoleRepository::update ( const ReactionRoleDTO & object)
nodiscardoverridevirtual

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