mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 20:14:19 +00:00
Lint: remove useless format
This commit is contained in:
parent
da38764cd2
commit
492d587a33
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ pub async fn handler(bot: &Bot, message: &Message) -> CommandResult {
|
||||||
|
|
||||||
let author_username = match author.username.as_ref() {
|
let author_username = match author.username.as_ref() {
|
||||||
None => {
|
None => {
|
||||||
format!("{}", &author.first_name)
|
author.first_name.clone()
|
||||||
},
|
},
|
||||||
Some(username) => {
|
Some(username) => {
|
||||||
format!("@{}", &username)
|
format!("@{}", &username)
|
||||||
|
|
Loading…
Reference in a new issue