Skip to content

Commit

Permalink
Remove "Not all transactions are here" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Nov 8, 2024
1 parent fc96fa9 commit 8474643
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8474643

Please sign in to comment.