Skip to content

Discord max field size 1024 exceeded fix#618

Merged
TurtIeSocks merged 5 commits intoWatWowMap:developfrom
jepke:patch-1
Dec 12, 2022
Merged

Discord max field size 1024 exceeded fix#618
TurtIeSocks merged 5 commits intoWatWowMap:developfrom
jepke:patch-1

Conversation

@jepke
Copy link
Copy Markdown
Contributor

@jepke jepke commented Dec 6, 2022

There are more elegant ways to fix this but its a fix.

There are more elegant ways to fix this but its a fix.
@jepke
Copy link
Copy Markdown
Contributor Author

jepke commented Dec 6, 2022

nvm this breaks even more... WIP

@jepke jepke closed this Dec 6, 2022
@TurtIeSocks
Copy link
Copy Markdown
Collaborator

Instead of setting this in the discord client, which sets the permissions for the user across the entire site, you'll want to limit it in the embed building function:
https://github.com/WatWowMap/ReactMap/blob/main/server/src/services/logUserAuth.js

@TurtIeSocks
Copy link
Copy Markdown
Collaborator

I'm doing something similar here for scanNext/scanZone logging you can reference:

.filter((_c, i) => i < 25)

@jepke jepke reopened this Dec 6, 2022
@jepke jepke changed the title Dirty fix on DiscordClient.js Discord max field size 1024 exceeded fix Dec 6, 2022
@jepke
Copy link
Copy Markdown
Contributor Author

jepke commented Dec 6, 2022

fix for #617

@TurtIeSocks TurtIeSocks merged commit aff335b into WatWowMap:develop Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants