diff --git a/helpers.go b/helpers.go index 72ea122..513a0c1 100644 --- a/helpers.go +++ b/helpers.go @@ -52,7 +52,7 @@ func parseStatus(s int) (string, string) { status = "Downloading" case 5: icon = "▶️️" - status = "'Queued to seed" + status = "Queued to seed" case 6: icon = "▶️️" status = "Seeding" diff --git a/keyboards.go b/keyboards.go index f6df37f..f63ab91 100644 --- a/keyboards.go +++ b/keyboards.go @@ -38,7 +38,7 @@ func torrentDeleteKbd(hash string) tgbotapi.InlineKeyboardMarkup { return tgbotapi.NewInlineKeyboardMarkup( tgbotapi.NewInlineKeyboardRow( tgbotapi.NewInlineKeyboardButtonData("Yes", "delete-yes_"+hash), - tgbotapi.NewInlineKeyboardButtonData("Yes(with data)", "delete-yes+data"+hash), + tgbotapi.NewInlineKeyboardButtonData("Yes(with data)", "delete-yes+data_"+hash), tgbotapi.NewInlineKeyboardButtonData("Cancel", "delete-no_"+hash), ), ) @@ -49,8 +49,8 @@ func torrentQueueKbd(hash string) tgbotapi.InlineKeyboardMarkup { tgbotapi.NewInlineKeyboardRow( tgbotapi.NewInlineKeyboardButtonData("⏫", "prior-top_"+hash), tgbotapi.NewInlineKeyboardButtonData("🔼", "prior-up_"+hash), - tgbotapi.NewInlineKeyboardButtonData("🔽", "prior-down"+hash), - tgbotapi.NewInlineKeyboardButtonData("⏬", "prior-bottom"+hash), + tgbotapi.NewInlineKeyboardButtonData("🔽", "prior-down_"+hash), + tgbotapi.NewInlineKeyboardButtonData("⏬", "prior-bottom_"+hash), ), tgbotapi.NewInlineKeyboardRow( tgbotapi.NewInlineKeyboardButtonData("Cancel", "prior-no_"+hash),