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