When I run bun run build I get this error, I tried the same using npm in a docker container, eventually it errors out as well
$ bun x tsc
src/index.ts:49:42 - error TS2352: Conversion of type 'CustomStatus' to type 'ActivityOptions' may be a mistake because neither type sufficiently overlaps with the other.If this was intentional, convert the expression to 'unknown' first.
49 streamer.client.user.setActivity(status_idle() as ActivityOptions)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/index.ts:78:47 - error TS2352: Conversion of type 'CustomStatus' to type 'ActivityOptions' may be a mistake because neither type sufficiently overlaps with the other.If this was intentional, convert the expression to 'unknown' first.
78 streamer.client.user?.setActivity(status_idle() as ActivityOptions)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/index.ts:171:51 - error TS2352: Conversion of type 'CustomStatus' to type 'ActivityOptions' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
171 streamer.client.user?.setActivity(status_watch(moviename) as ActivityOptions)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/index.ts:209:71 - error TS2352: Conversion of type 'CustomStatus' to type 'ActivityOptions' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
209 streamer.client.user?.setActivity(status_watch("") as ActivityOptions);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/index.ts:222:71 - error TS2352: Conversion of type 'CustomStatus' to type 'ActivityOptions' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
222 streamer.client.user?.setActivity(status_watch("") as ActivityOptions);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/index.ts:235:67 - error TS2352: Conversion of type 'CustomStatus' to type 'ActivityOptions' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
235 streamer.client.user?.setActivity(status_watch("") as ActivityOptions);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/index.ts:241:63 - error TS2352: Conversion of type 'CustomStatus' to type 'ActivityOptions' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
241 streamer.client.user?.setActivity(status_watch("") as ActivityOptions);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/index.ts:277:55 - error TS2352: Conversion of type 'CustomStatus' to type 'ActivityOptions' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
277 streamer.client.user?.setActivity(status_watch("") as ActivityOptions);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/index.ts:511:39 - error TS2352: Conversion of type 'CustomStatus' to type 'ActivityOptions' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Property 'name' is missing in type 'CustomStatus' but required in type 'ActivityOptions'.
511 streamer.client.user?.setActivity(status_idle() as ActivityOptions);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/discord.js-selfbot-v13/typings/index.d.ts:4548:3
4548 name: string;
~~~~
'name' is declared here.
Found 9 errors in the same file, starting at: src/index.ts:49
When I run bun run build I get this error, I tried the same using npm in a docker container, eventually it errors out as well