droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
HasBadgeRepository.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
6 public:
7 [[nodiscard]] bool create(size_t user_id, size_t message_id);
8
9 [[nodiscard]] bool remove(size_t user_id, size_t message_id = 0);
10 [[nodiscard]] bool removeBadge(size_t message_id);
11
12 [[nodiscard]] std::vector<size_t> get(size_t user_id);
13};
Definition HasBadgeRepository.hpp:5
bool create(size_t user_id, size_t message_id)
Definition HasBadgeRepository.cpp:7
std::vector< size_t > get(size_t user_id)
Definition HasBadgeRepository.cpp:36
bool remove(size_t user_id, size_t message_id=0)
Definition HasBadgeRepository.cpp:22
bool removeBadge(size_t message_id)