Fix User/Role/Channel id parsing (#35)

* Import thiserror to make nicer errors

* Create wrappers for id that exposes old parsing behavior (from mentions)

* Use id wrappers when parsing parameters
This commit is contained in:
Natsu Kagami 2024-02-28 18:02:42 +00:00 committed by GitHub
parent 431f295b41
commit b4cf6ce94f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 91 additions and 21 deletions

1
Cargo.lock generated
View file

@ -3210,6 +3210,7 @@ dependencies = [
"futures-util",
"reqwest",
"serenity",
"thiserror",
"tokio",
"youmubot-db",
"youmubot-db-sql",