blob: b4ea5843fbeb3e45d63b66f7fc2d16bc0725cadb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include "notifier.hpp"
#include <map>
#include <vector>
class Message;
class Notifications {
public:
Notifications();
void CheckMessage(const Message &message);
void WithdrawChannel(Snowflake channel_id);
private:
void NotifyMessageDM(const Message &message);
void NotifyMessageGuild(const Message &message);
[[nodiscard]] bool IsDND() const;
Notifier m_notifier;
std::map<Snowflake, std::vector<Snowflake>> m_chan_notifications;
};
|