osu: Implement pins (#53)

Also format recent so attempt count is displayed
This commit is contained in:
Natsu Kagami 2024-10-12 17:07:56 +02:00 committed by GitHub
parent a8d1d11223
commit 6fbae89dfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 167 additions and 51 deletions

View file

@ -253,6 +253,7 @@ mod username_arg {
use serenity::model::id::UserId;
use std::str::FromStr;
/// An argument that can be either a tagged user, or a raw string.
#[derive(Debug, Clone)]
pub enum UsernameArg {
Tagged(UserId),
Raw(String),