mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-10 04:30:29 +00:00
Add osu! genre Folk (13)
This commit is contained in:
parent
4a0c596ea5
commit
2a1270f280
2 changed files with 2 additions and 0 deletions
|
@ -130,6 +130,7 @@ pub enum Genre {
|
|||
Novelty,
|
||||
HipHop,
|
||||
Electronic,
|
||||
Folk,
|
||||
}
|
||||
|
||||
impl fmt::Display for Genre {
|
||||
|
|
|
@ -218,6 +218,7 @@ fn parse_genre(s: impl AsRef<str>) -> ParseResult<Genre> {
|
|||
7 => Novelty,
|
||||
9 => HipHop,
|
||||
10 => Electronic,
|
||||
13 => Folk,
|
||||
_ => {
|
||||
return Err(ParseError::InvalidValue {
|
||||
field: "genre",
|
||||
|
|
Loading…
Add table
Reference in a new issue