mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 17:20:49 +00:00
Lots of tweaks to the osu! embeds (#4)
* Simplify beatmap embed information * Shrink embeds!! * Put ranked status on information * Paint the user embed! * Add gained pp * Use more carefully crafted hooks * 'JSformat' the bpm float
This commit is contained in:
parent
6659bdda57
commit
c6e8bfc43e
4 changed files with 201 additions and 201 deletions
|
@ -122,11 +122,6 @@ pub fn mania(ctx: &mut Context, msg: &Message, args: Args) -> CommandResult {
|
|||
pub(crate) struct BeatmapWithMode(pub Beatmap, pub Mode);
|
||||
|
||||
impl BeatmapWithMode {
|
||||
/// Whether this beatmap-with-mode is a converted beatmap.
|
||||
fn is_converted(&self) -> bool {
|
||||
self.0.mode != self.1
|
||||
}
|
||||
|
||||
fn mode(&self) -> Mode {
|
||||
self.1
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue