summaryrefslogtreecommitdiff
path: root/bot/src/schemas/event.hpp
diff options
context:
space:
mode:
authorilotterytea <iltsu@alright.party>2025-07-21 16:34:23 +0500
committerilotterytea <iltsu@alright.party>2025-07-21 16:34:23 +0500
commit8b86e9a8f071a1af5ce1531a9ebd2b2140e73ff7 (patch)
tree0e7bb1124987feed7318601693d84d8bec151f50 /bot/src/schemas/event.hpp
parent123d99d5db3ab2f3d26e70b9f7e90292f8099825 (diff)
feat: a function for getting events
Diffstat (limited to 'bot/src/schemas/event.hpp')
-rw-r--r--bot/src/schemas/event.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/bot/src/schemas/event.hpp b/bot/src/schemas/event.hpp
new file mode 100644
index 0000000..a91aef3
--- /dev/null
+++ b/bot/src/schemas/event.hpp
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <string>
+#include <vector>
+
+namespace bot::schemas {
+ struct Event {
+ int id, alias_id;
+ std::string message, channel_alias_name;
+ bool is_massping;
+ std::vector<std::string> subs;
+ };
+} \ No newline at end of file