mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix some parameters that should parse remainder but werent
This commit is contained in:
parent
a307dd37c4
commit
2fe747d704
4 changed files with 28 additions and 21 deletions
|
|
@ -578,6 +578,6 @@ impl ParseMessageLink for regex::Captures<'_> {
|
|||
fn parse_id(&self, name: &str) -> Result<u64, SmolStr> {
|
||||
self.name(name)
|
||||
.and_then(|m| m.as_str().parse::<u64>().ok())
|
||||
.ok_or_else(|| SmolStr::new(format!("invalid {} in message link", name)))
|
||||
.ok_or_else(|| SmolStr::new(format!("invalid {} ID in message link", name)))
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue