From d8e24337f1ba36a186acb55145c5d1bca069348e Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Wed, 11 Oct 2023 16:11:52 -0600 Subject: [PATCH] do not set emoji unnecessarily --- app/routes/resources.connect-epic-web.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/routes/resources.connect-epic-web.ts b/app/routes/resources.connect-epic-web.ts index e608a0b..55164f5 100644 --- a/app/routes/resources.connect-epic-web.ts +++ b/app/routes/resources.connect-epic-web.ts @@ -91,10 +91,6 @@ export async function action({ request }: DataFunctionArgs) { if (e?.message?.includes('Missing Permissions')) return throw e }) - await member.setNickname(`${member.displayName} 🌌`).catch((e: any) => { - if (e?.message?.includes('Missing Permissions')) return - throw e - }) } catch (error) { return json({ status: 'error', error: getErrorMessage(error) } as const, { status: 500,