Skip to content

Commit a8c5933

Browse files
committed
Fix logsdelete arguments
1 parent c6159ee commit a8c5933

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cogs/server_logs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ async def logsdelete(self, interaction: discord.Interaction,
180180
before: app_commands.Transform[Optional[datetime], DateTransformer] = None,
181181
after: app_commands.Transform[Optional[datetime], DateTransformer] = None,
182182
during: app_commands.Transform[Optional[datetime], DateTransformer] = None,
183-
limit: app_commands.Transform[int, DateTransformer] = 10,
183+
limit: app_commands.Range[int, 1, 100] = 10,
184184
):
185185
"""Delete messages from user according to messages stored in the server logs, deletes last limit messages by default.
186186

0 commit comments

Comments
 (0)