refactor: remove RequestManager and use runMethod() (#732)

* fix(rest/process_request): use DiscordHTTPResponseCodes

* refactor: remove RequestManager

* refactor: remove RequestManager and use runMethod()
This commit is contained in:
ayntee
2021-04-02 23:18:51 +04:00
committed by GitHub
parent ec9ceaab04
commit 5f1b82a4e8
106 changed files with 418 additions and 326 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ export const endpoints = {
`${baseEndpoints.BASE_URL}/interactions/${interactionId}/${token}/callback`,
INTERACTION_ORIGINAL_ID_TOKEN: (interactionId: string, token: string) =>
`${baseEndpoints.BASE_URL}/webhooks/${interactionId}/${token}/messages/@original`,
INTERACTION_Id_TOKEN_MESSAGEId: (
INTERACTION_ID_TOKEN_MESSAGE_ID: (
applicationId: string,
token: string,
messageId: string,