aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar Amrou Bellalouna <[email protected]>2022-09-18 18:43:05 +0100
committerGravatar Amrou Bellalouna <[email protected]>2022-09-18 18:43:05 +0100
commit672ba65b02fb111235fd3b928d5c84ee8b59cc54 (patch)
tree09ea9142bb68ef6cb197b8f943c93abb30fb0499 /pydis_site
parentadd docstrings explaining the values that the Rules view returns (diff)
add suggested keywords
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/apps/api/views.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/pydis_site/apps/api/views.py b/pydis_site/apps/api/views.py
index 66f4b18c..836f11ce 100644
--- a/pydis_site/apps/api/views.py
+++ b/pydis_site/apps/api/views.py
@@ -126,43 +126,43 @@ class RulesView(APIView):
return Response([
(
f"Follow the {pydis_coc}.",
- {"coc", "conduct", "code"}
+ ["coc", "conduct", "code"]
),
(
f"Follow the {discord_community_guidelines} and {discord_tos}.",
- {"guidelines", "discord_tos"}
+ ["discord", "guidelines", "discord_tos"]
),
(
"Respect staff members and listen to their instructions.",
- {"staff", "instructions"}
+ ["respect", "staff", "instructions"]
),
(
"Use English to the best of your ability. "
"Be polite if someone speaks English imperfectly.",
- {"english", "language"}
+ ["english", "language"]
),
(
"Do not provide or request help on projects that may break laws, "
"breach terms of services, or are malicious or inappropriate.",
- {"infraction", "tos", "breach", "malicious", "inappropriate"}
+ ["infraction", "tos", "breach", "malicious", "inappropriate"]
),
(
"Do not post unapproved advertising.",
- {"ads", "advertising"}
+ ["ad", "ads", "advert", "advertising"]
),
(
"Keep discussions relevant to the channel topic. "
"Each channel's description tells you the topic.",
- {"off-topic", "topic", "relevance"}
+ ["off-topic", "topic", "relevance"]
),
(
"Do not help with ongoing exams. When helping with homework, "
"help people learn how to do the assignment without doing it for them.",
- {"exams", "assignment", "assignments", "homework"}
+ ["exam", "exams", "assignment", "assignments", "homework"]
),
(
"Do not offer or ask for paid work of any kind.",
- {"work", "money"}
+ ["paid", "work", "money"]
),
])