fix: Formatting and missing formats.
This commit is contained in:
@@ -94,7 +94,7 @@ class StatsCog(LionCog):
|
||||
@appcmds.describe(
|
||||
season_start=_p(
|
||||
'cmd:configure_statistics|param:season_start|desc',
|
||||
"Time from which to start counting activity for rank badges and season leadeboards."
|
||||
"Time from which to start counting activity for rank badges and season leaderboards. (YYYY-MM-DD)"
|
||||
)
|
||||
)
|
||||
@appcmds.default_permissions(manage_guild=True)
|
||||
|
||||
@@ -221,14 +221,14 @@ class GoalEditor(FastModal):
|
||||
t(_p(
|
||||
'modal:goal_editor|field:text_goal|error:NAN',
|
||||
"The provided message goal `{input}` is not a number! Please try again."
|
||||
))
|
||||
)).format(input=string)
|
||||
)
|
||||
elif self.stat_page.stat is StatType.ANKI:
|
||||
raise UserInputError(
|
||||
t(_p(
|
||||
'modal:goal_editor|field:anki_goal|error:NAN',
|
||||
"The provided card goal `{input}` is not a number! Please try again."
|
||||
))
|
||||
)).format(input=string)
|
||||
)
|
||||
else:
|
||||
result = int(string)
|
||||
|
||||
Reference in New Issue
Block a user