Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Return the created route #16

Merged
merged 1 commit into from
Feb 15, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions discord/ext/ipc/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ def decorator(func):
else:
Server.ROUTES[name] = func

return func

return decorator


Expand Down Expand Up @@ -89,6 +91,8 @@ def decorator(func):
else:
self.endpoints[name] = func

return func

return decorator

def update_endpoints(self):
Expand Down