Skip to content

Commit

Permalink
do not set emoji unnecessarily
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Oct 11, 2023
1 parent f5d6169 commit d8e2433
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/routes/resources.connect-epic-web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d8e2433

Please sign in to comment.