From 0a7bffb0bb793517bb36136c847e13d439ce1ef9 Mon Sep 17 00:00:00 2001 From: Kunal Sharma Date: Sun, 7 Mar 2021 20:30:13 +0530 Subject: Update doc in pydis_site/apps/api/viewsets/bot/infraction.py Co-authored-by: Mark --- pydis_site/apps/api/viewsets/bot/infraction.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pydis_site/apps') diff --git a/pydis_site/apps/api/viewsets/bot/infraction.py b/pydis_site/apps/api/viewsets/bot/infraction.py index 9d5076d9..bd512ddd 100644 --- a/pydis_site/apps/api/viewsets/bot/infraction.py +++ b/pydis_site/apps/api/viewsets/bot/infraction.py @@ -39,8 +39,8 @@ class InfractionViewSet( - **active** `bool`: whether the infraction is still active - **actor__id** `int`: snowflake of the user which applied the infraction - **hidden** `bool`: whether the infraction is a shadow infraction - - **limit** `int`: number of results return per page. default limit is 100 - - **offset** `int`: the initial index from which to return the results, default is 0 + - **limit** `int`: number of results return per page (default 100) + - **offset** `int`: the initial index from which to return the results (default 0) - **search** `str`: regular expression applied to the infraction's reason - **type** `str`: the type of the infraction - **user__id** `int`: snowflake of the user to which the infraction was applied -- cgit v1.2.3