Skip to content

Commit

Permalink
Fix delete days description
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Oct 11, 2024
1 parent 07f0815 commit 8e89666
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class BanCommand(val loritta: LorittaBot) : SlashCommandDeclarationWrapper {
}

// TODO: Delete days
val deleteDays = optionalLong("delete_days", CATEGORY_I18N_PREFIX.Options.SkipConfirmation.Text)
val deleteDays = optionalLong("delete_days", CATEGORY_I18N_PREFIX.Options.DeleteDays.Text)
val skipConfirmation = optionalBoolean("skip_confirmation", CATEGORY_I18N_PREFIX.Options.SkipConfirmation.Text)
val isSilent = optionalBoolean("is_silent", CATEGORY_I18N_PREFIX.Options.IsSilent.Text)
}
Expand Down
2 changes: 2 additions & 0 deletions resources/languages/pt/command-categories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ commands:
text: "Pula a confirmação da punição"
isSilent:
text: "Se ativo, a punição será silenciosa, ou seja, eu não enviarei avisos no privado e no servidor"
deleteDays:
text: "Quantos dias irei procurar no histórico de mensagens do usuário para que elas sejam deletadas"
utils:
name: "Utilitários"
description:
Expand Down

0 comments on commit 8e89666

Please sign in to comment.