fix(types)!: Split and fix discordeno.ts (#4301)

* fix(types)!: Split and fix discordeno.ts

* fix some mistakes

* remove now not needed @ts-expect-error

* Apply code review suggestions

* Fix test type errors

* Revert "Apply code review suggestions"

This reverts commit 7a0cea84b3.

* Restore some of the changes from the revert

---------

Co-authored-by: Link <lts20050703@gmail.com>
This commit is contained in:
Fleny
2025-08-14 18:37:52 +02:00
committed by GitHub
co-authored by Link
parent d50d47ec99
commit 65cbe5d1e6
30 changed files with 2168 additions and 1950 deletions
+3
View File
@@ -77,6 +77,7 @@ describe('Manage reactions', async () => {
const emoji = await rest.createEmoji(e2eCache.guild.id, {
name: 'discordeno',
image: await urlToBase64('https://cdn.discordapp.com/emojis/785403373817823272.webp?size=96'),
roles: [],
})
after(async () => {
@@ -106,6 +107,7 @@ describe('Manage reactions', async () => {
const emoji = await rest.createEmoji(e2eCache.guild.id, {
name: 'discordeno',
image: await urlToBase64('https://cdn.discordapp.com/emojis/785403373817823272.webp?size=96'),
roles: [],
})
after(async () => {
@@ -132,6 +134,7 @@ describe('Manage reactions', async () => {
const emoji = await rest.createEmoji(e2eCache.guild.id, {
name: 'discordeno',
image: await urlToBase64('https://cdn.discordapp.com/emojis/785403373817823272.webp?size=96'),
roles: [],
})
after(async () => {