diff options
| author | 2020-07-16 14:11:35 +0800 | |
|---|---|---|
| committer | 2020-07-16 14:11:35 +0800 | |
| commit | 806b27bb30ceb32603bd90d31e32ae30bf8f499e (patch) | |
| tree | 416933af617cd1c57ed222305f672b25292a17b8 /pydis_site/apps | |
| parent | Document PATCH for reminders (diff) | |
Document more undocumented stuff
Diffstat (limited to 'pydis_site/apps')
| -rw-r--r-- | pydis_site/apps/api/viewsets/bot/reminder.py | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/pydis_site/apps/api/viewsets/bot/reminder.py b/pydis_site/apps/api/viewsets/bot/reminder.py index 940d19d4..f4921d44 100644 --- a/pydis_site/apps/api/viewsets/bot/reminder.py +++ b/pydis_site/apps/api/viewsets/bot/reminder.py @@ -34,7 +34,9 @@ class ReminderViewSet(      ...         ],      ...         'content': "Make dinner",      ...         'expiration': '5018-11-20T15:52:00Z', -    ...         'id': 11 +    ...         'id': 11, +    ...         'channel_id': 634547009956872193, +    ...         'jump_url': "https://discord.com/channels/<guild_id>/<channel_id>/<message_id>"      ...     },      ...     ...      ... ] @@ -50,7 +52,9 @@ class ReminderViewSet(      ...     'author': int,      ...     'mentions': List[int],      ...     'content': str, -    ...     'expiration': str  # ISO-formatted datetime +    ...     'expiration': str,  # ISO-formatted datetime +    ...     'channel_id': int, +    ...     'jump_url': Optional[str]      ... }      #### Status codes | 
