The weeb for the next gen discord boat - Wamellow wamellow.com
bot discord
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

support multiple file uploads

Luna eeeab334 f46d2eae

+2 -2
+1 -1
app/dashboard/[guildId]/notifications/style.component.tsx
··· 175 175 176 176 const formData = new FormData(); 177 177 formData.append("json_payload", JSON.stringify({ username: name })); 178 - if (avatar && typeof avatar !== "string") formData.append("file", new Blob([avatar])); 178 + if (avatar && typeof avatar !== "string") formData.append("file[0]", new Blob([avatar])); 179 179 180 180 return fetch(`${process.env.NEXT_PUBLIC_API}/guilds/${guildId}/modules/notifications/${id}/style`, { 181 181 method: "PATCH",
+1 -1
app/profile/rank/card-style.component.tsx
··· 40 40 setState(State.Loading); 41 41 42 42 const formData = new FormData(); 43 - formData.append("file", file); 43 + formData.append("file[0]", file); 44 44 45 45 const res = await fetch(`${process.env.NEXT_PUBLIC_API}/users/@me/rank/emoji`, { 46 46 method: "PUT",