From be662a230b98ad0ae56308f32ebdcf5f2e833665 Mon Sep 17 00:00:00 2001 From: ayntee Date: Fri, 25 Dec 2020 14:59:24 +0400 Subject: [PATCH] chore: add return type and handle raw API payload --- src/structures/template.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/structures/template.ts b/src/structures/template.ts index 22224b0..b59d7c9 100644 --- a/src/structures/template.ts +++ b/src/structures/template.ts @@ -45,21 +45,21 @@ export class Template extends Base { } /** Modifies the template's metadata. Requires the MANAGE_GUILD permission. Returns the template object on success. */ - async edit(data: ModifyGuildTemplateParams) { + async edit(data: ModifyGuildTemplateParams): Promise