Skip to content

Commit e6db607

Browse files
Amrou BellalounaAmrou Bellalouna
authored andcommitted
restrict the RulesView docstrings to just what it does
1 parent 49909a3 commit e6db607

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pydis_site/apps/api/views.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ class RulesView(APIView):
3838
## Routes
3939
### GET /rules
4040
Returns a JSON array containing the server's rules
41-
coupled with a list of keywords that will be used
42-
when searching for particular rules upon using the
43-
bot's `!rule` command
41+
and keywords relating to each rule.
42+
Example response:
4443
4544
>>> [
4645
... ("Eat candy.", ["candy", "sweets"]),

0 commit comments

Comments
 (0)