diff options
| author | ilotterytea <iltsu@alright.party> | 2024-04-30 21:44:46 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2024-04-30 21:44:46 +0500 |
| commit | a1136494fbee133af36f6580125c9c7af9e1be45 (patch) | |
| tree | 8dbd691190d057713d15a01a221c0c66dee7c8b8 /src/commands/request.hpp | |
| parent | c7d93fd7c54145fa248e87930124fbc10367845d (diff) | |
feat: added User model into Request struct
Diffstat (limited to 'src/commands/request.hpp')
| -rw-r--r-- | src/commands/request.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/request.hpp b/src/commands/request.hpp index 6149dee..702fcb8 100644 --- a/src/commands/request.hpp +++ b/src/commands/request.hpp @@ -6,6 +6,7 @@ #include "../irc/message.hpp" #include "../schemas/channel.hpp" +#include "../schemas/user.hpp" namespace bot::command { struct Request { @@ -15,6 +16,7 @@ namespace bot::command { const irc::Message<irc::MessageType::Privmsg> &irc_message; schemas::Channel channel; + schemas::User user; pqxx::connection &conn; }; |
