mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-05-24 01:00:49 +00:00
osu: Implement pins (#53)
Also format recent so attempt count is displayed
This commit is contained in:
parent
a8d1d11223
commit
6fbae89dfe
5 changed files with 167 additions and 51 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue