help with string conversion
This commit is contained in:
parent
c73f727adc
commit
b7103de3d3
@ -67,6 +67,7 @@ namespace Message::Components {
|
||||
|
||||
struct MessageText {
|
||||
std::string text;
|
||||
MessageText(const std::string& view) : text(view) {}
|
||||
MessageText(const std::string_view& view) : text(view) {}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user