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