droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
GoodbyeChannelRepository.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <IRepository.hpp>
4
6
7class GoodbyeChannelRepository : public IRepository<GoodbyeChannelDTO> {
8 public:
9 [[nodiscard]] bool create(const GoodbyeChannelDTO& object) override;
10
11 [[nodiscard]] bool remove(size_t guild_id) override;
12
13 [[nodiscard]] GoodbyeChannelDTO get(size_t guild_id) override;
14
15 [[nodiscard]] bool update(const GoodbyeChannelDTO& object) override;
16};
Definition GoodbyeChannelDTO.hpp:6
Definition GoodbyeChannelRepository.hpp:7
GoodbyeChannelDTO get(size_t guild_id) override
Definition GoodbyeChannelRepository.cpp:52
bool create(const GoodbyeChannelDTO &object) override
Definition GoodbyeChannelRepository.cpp:9
bool update(const GoodbyeChannelDTO &object) override
Definition GoodbyeChannelRepository.cpp:38
bool remove(size_t guild_id) override
Definition GoodbyeChannelRepository.cpp:28
Definition IRepository.hpp:5