mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 08:47:22 +00:00
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:
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user