diff options
Diffstat (limited to 'src/model/channel/message.rs')
| -rw-r--r-- | src/model/channel/message.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/channel/message.rs b/src/model/channel/message.rs index 7b94540..55f61ba 100644 --- a/src/model/channel/message.rs +++ b/src/model/channel/message.rs @@ -257,7 +257,7 @@ impl Message { self.content = if chosen.contains("$user") { chosen.replace("$user", &self.author.mention()) } else { - chosen.to_owned() + chosen.to_string() }; }, _ => {}, |