From 34ca3e293e1b40ae69f870df51f1f0742d8dba70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Susa=C3=B1a?= Date: Mon, 28 Apr 2025 03:42:46 -0400 Subject: [PATCH] fix(roles): delete don't return role anymore --- src/common/shorters/roles.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/common/shorters/roles.ts b/src/common/shorters/roles.ts index 8f730f4..6f82ae3 100644 --- a/src/common/shorters/roles.ts +++ b/src/common/shorters/roles.ts @@ -95,7 +95,6 @@ export class RoleShorter extends BaseShorter { async delete(guildId: string, roleId: string, reason?: string): Promise { const res = await this.client.proxy.guilds(guildId).roles(roleId).delete({ reason }); this.client.cache.roles?.removeIfNI('Guilds', roleId, guildId); - return Transformers.GuildRole(this.client, res, guildId); } /**