From 4574ca018fd6fc465a4c0bb167f5280cd6d2728b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Susa=C3=B1a?= Date: Mon, 28 Apr 2025 03:44:17 -0400 Subject: [PATCH] fix: xd --- src/common/shorters/roles.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/shorters/roles.ts b/src/common/shorters/roles.ts index 6f82ae3..6b90c4c 100644 --- a/src/common/shorters/roles.ts +++ b/src/common/shorters/roles.ts @@ -92,8 +92,8 @@ export class RoleShorter extends BaseShorter { * @param reason The reason for deleting the role. * @returns A Promise that resolves when the role is deleted. */ - async delete(guildId: string, roleId: string, reason?: string): Promise { - const res = await this.client.proxy.guilds(guildId).roles(roleId).delete({ reason }); + async delete(guildId: string, roleId: string, reason?: string) { + await this.client.proxy.guilds(guildId).roles(roleId).delete({ reason }); this.client.cache.roles?.removeIfNI('Guilds', roleId, guildId); }