aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/urls.py
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2020-02-03 13:29:36 -0800
committerGravatar GitHub <[email protected]>2020-02-03 13:29:36 -0800
commit862db8e814344413ef866659fa80ef492b750d8a (patch)
treef3a32b84c9f6035939a65c390ef1b3e92176eaba /pydis_site/apps/api/urls.py
parentImprove robustness with regard to ordering (diff)
parentMerge pull request #325 from python-discord/unbleach-wiki (diff)
Merge branch 'master' into reminder-tests
Diffstat (limited to 'pydis_site/apps/api/urls.py')
-rw-r--r--pydis_site/apps/api/urls.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/pydis_site/apps/api/urls.py b/pydis_site/apps/api/urls.py
index ac6704c8..4a0281b4 100644
--- a/pydis_site/apps/api/urls.py
+++ b/pydis_site/apps/api/urls.py
@@ -6,7 +6,8 @@ from .viewsets import (
BotSettingViewSet, DeletedMessageViewSet,
DocumentationLinkViewSet, InfractionViewSet,
LogEntryViewSet, NominationViewSet,
- OffTopicChannelNameViewSet, ReminderViewSet,
+ OffTopicChannelNameViewSet,
+ OffensiveMessageViewSet, ReminderViewSet,
RoleViewSet, TagViewSet, UserViewSet
)
@@ -34,6 +35,10 @@ bot_router.register(
NominationViewSet
)
bot_router.register(
+ 'offensive-messages',
+ OffensiveMessageViewSet
+)
+bot_router.register(
'off-topic-channel-names',
OffTopicChannelNameViewSet,
base_name='offtopicchannelname'