remove useless format!
This commit is contained in:
@@ -254,7 +254,7 @@ impl LobbyCommand {
|
||||
None => {
|
||||
interaction
|
||||
.edit_original_interaction_response(ctx, |response| {
|
||||
response.content(format!("Failed to get players"))
|
||||
response.content("Failed to get players")
|
||||
})
|
||||
.await?;
|
||||
return Ok(());
|
||||
|
||||
@@ -122,7 +122,7 @@ impl MixerCommand for PreferenceCommand {
|
||||
response
|
||||
.kind(InteractionResponseType::ChannelMessageWithSource)
|
||||
.interaction_response_data(|message| {
|
||||
message.content(format!("User not found")).ephemeral(true)
|
||||
message.content("User not found").ephemeral(true)
|
||||
})
|
||||
})
|
||||
.await?;
|
||||
|
||||
@@ -87,7 +87,7 @@ impl MixerCommand for RatingCommand {
|
||||
response
|
||||
.kind(InteractionResponseType::ChannelMessageWithSource)
|
||||
.interaction_response_data(|message| {
|
||||
message.content(format!("User not found")).ephemeral(true)
|
||||
message.content("User not found").ephemeral(true)
|
||||
})
|
||||
})
|
||||
.await?;
|
||||
@@ -133,7 +133,7 @@ impl MixerCommand for RatingCommand {
|
||||
.kind(InteractionResponseType::ChannelMessageWithSource)
|
||||
.interaction_response_data(|message| {
|
||||
message
|
||||
.content(format!("Rank must be between 1 and 5000"))
|
||||
.content("Rank must be between 1 and 5000")
|
||||
.ephemeral(true)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user