From 84746439669e9506bccb535cc583a1f1ffd4aca7 Mon Sep 17 00:00:00 2001 From: MrPowerGamerBR Date: Fri, 8 Nov 2024 00:30:05 -0300 Subject: [PATCH] Remove "Not all transactions are here" warning --- .../vanilla/economy/SonhosTransactionsExecutor.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/loritta-bot-discord/src/main/kotlin/net/perfectdreams/loritta/morenitta/interactions/vanilla/economy/SonhosTransactionsExecutor.kt b/loritta-bot-discord/src/main/kotlin/net/perfectdreams/loritta/morenitta/interactions/vanilla/economy/SonhosTransactionsExecutor.kt index 1f50d68259..b2721f42f3 100644 --- a/loritta-bot-discord/src/main/kotlin/net/perfectdreams/loritta/morenitta/interactions/vanilla/economy/SonhosTransactionsExecutor.kt +++ b/loritta-bot-discord/src/main/kotlin/net/perfectdreams/loritta/morenitta/interactions/vanilla/economy/SonhosTransactionsExecutor.kt @@ -64,10 +64,6 @@ class SonhosTransactionsExecutor(val loritta: LorittaBot) : LorittaSlashCommandE val isSelf = viewingTransactionsOfUserId == userId val cachedUserInfo = loritta.lorittaShards.retrieveUserInfoById(viewingTransactionsOfUserId) ?: error("Missing cached user info!") - content = i18nContext.get( - SonhosCommand.TRANSACTIONS_I18N_PREFIX.NotAllTransactionsAreHere - ) - if (page >= totalPages && totalPages != 0L) { apply( createTooManyPagesMessage(