mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-25 17:40:52 +00:00
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:
parent
431f295b41
commit
b4cf6ce94f
8 changed files with 91 additions and 21 deletions
|
@ -17,6 +17,7 @@ reqwest = { version = "0.11.10", features = ["json"] }
|
|||
chrono = "0.4.19"
|
||||
flume = "0.10.13"
|
||||
dashmap = "5.3.4"
|
||||
thiserror = "1"
|
||||
|
||||
[dependencies.serenity]
|
||||
version = "0.12"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue