diff options
author | 2020-01-12 12:39:42 +0100 | |
---|---|---|
committer | 2020-01-12 12:39:42 +0100 | |
commit | acc8b5e5de72e63c37959cd4e62b1e6e462b25ee (patch) | |
tree | 0e3ec2b9a6b45785d764f5e445626662618cbab6 /pydis_site/apps/api/urls.py | |
parent | Merge branch 'bot#549-show-attachments-staff' of https://github.com/python-di... (diff) | |
parent | Adding iframe attributes to attribute whitelist (diff) |
Merge branch 'master' into bot#549-show-attachments-staff
Diffstat (limited to 'pydis_site/apps/api/urls.py')
-rw-r--r-- | pydis_site/apps/api/urls.py | 7 |
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' |