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); }