| 31 | } |
| 32 | |
| 33 | command_source::command_source(const struct message_create_t& event) : guild_id(event.msg.guild_id), channel_id(event.msg.channel_id), command_id(0), issuer(event.msg.author), message_event(event), interaction_event(std::nullopt) |
| 34 | { |
| 35 | } |
| 36 | |
| 37 | command_source::command_source(const struct interaction_create_t& event) : guild_id(event.command.guild_id), channel_id(event.command.channel_id), command_id(event.command.id), command_token(event.command.token), issuer(event.command.usr), message_event(std::nullopt), interaction_event(event) |
| 38 | { |
nothing calls this directly
no outgoing calls
no test coverage detected