diff options
author | 2021-03-07 20:30:13 +0530 | |
---|---|---|
committer | 2021-03-07 20:30:13 +0530 | |
commit | 0a7bffb0bb793517bb36136c847e13d439ce1ef9 (patch) | |
tree | 68aaa973665671fba729c2eb9637fbdc9e0b717c /pydis_site/apps/api/viewsets | |
parent | Update doc in pydis_site/apps/api/viewsets/bot/infraction.py (diff) |
Update doc in pydis_site/apps/api/viewsets/bot/infraction.py
Co-authored-by: Mark <[email protected]>
Diffstat (limited to 'pydis_site/apps/api/viewsets')
-rw-r--r-- | pydis_site/apps/api/viewsets/bot/infraction.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |