diff --git a/internal/commands/responses/quotes.go b/internal/commands/responses/quotes.go index 6b73bb4..e08e321 100644 --- a/internal/commands/responses/quotes.go +++ b/internal/commands/responses/quotes.go @@ -10,11 +10,13 @@ import ( "github.com/nijeti/cinema-keeper/internal/pkg/utils" ) -func QuotesEmpty() *discordgo.InteractionResponse { +func QuotesEmpty(author *discordgo.Member) *discordgo.InteractionResponse { return &discordgo.InteractionResponse{ Type: discordgo.InteractionResponseChannelMessageWithSource, Data: &discordgo.InteractionResponseData{ - Content: "No quotes found for this user", + Content: fmt.Sprintf( + "%s doesn't have any quotes", author.Mention(), + ), }, } } diff --git a/internal/handlers/quote/listQuotes.go b/internal/handlers/quote/listQuotes.go index a579b72..dfa17f8 100644 --- a/internal/handlers/quote/listQuotes.go +++ b/internal/handlers/quote/listQuotes.go @@ -23,7 +23,7 @@ func (h Handler) listQuotes( } if len(quotes) == 0 { - _ = h.utils.Respond(h.ctx, s, i, responses.QuotesEmpty()) + _ = h.utils.Respond(h.ctx, s, i, responses.QuotesEmpty(author)) return }