refactor(types,utils,rest,bot)!: Cleanup types & files (#3951)

* Cleanup some un-used & sort types, split files

* Remove commented code from reverse/component.ts

* Fix type error on the bot E2E test

* Add comment, remove DiscordInteractionResponse

* Remove camel.ts

* Error on unusedImport, refactor type imports

* Run biome check

* fix: typo

* Update comments for skuId and defaultValues

---------

Co-authored-by: Awesome Stickz <awesome@stickz.dev>
This commit is contained in:
Fleny
2024-11-09 17:27:55 +01:00
committed by GitHub
co-authored by Awesome Stickz
parent dbf4fda455
commit cfdf77027a
40 changed files with 1819 additions and 2417 deletions
+1 -1
View File
@@ -3,8 +3,8 @@ import { delay, logger, snakeToCamelCase } from '@discordeno/utils'
import { use as chaiUse } from 'chai'
import chaiAsPromised from 'chai-as-promised'
import { describe, it } from 'mocha'
import type { EventHandlers } from '../../src/bot.js'
import { createBot } from '../../src/bot.js'
import type { EventHandlers } from '../../src/events.js'
import { token } from './constants.js'
chaiUse(chaiAsPromised)