Skip to content

Similiukas/BadPiggie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bad Piggie

Discord bot which records users in voice channel and then speaks in their voice randomly. Will also join the voice channel by itself, say something and leave.

Error building

Currently there are errors like:

node_modules/@discordjs/voice/dist/index.d.ts:713:30 - error TS2315: Type 'Buffer' is not generic.

713     encrypt(packet: Buffer): Buffer<ArrayBufferLike>;
                                 ~~~~~~~~~~~~~~~~~~~~~~~

node_modules/@discordjs/voice/dist/index.d.ts:721:46 - error TS2315: Type 'Buffer' is not generic.

721     decrypt(packet: Buffer, userId: string): Buffer<ArrayBufferLike> | null;
                                                 ~~~~~~~~~~~~~~~~~~~~~~~

node_modules/@discordjs/voice/dist/index.d.ts:1173:45 - error TS2315: Type 'Buffer' is not generic.

1173     prepareAudioPacket(opusPacket: Buffer): Buffer<ArrayBufferLike> | undefined;
                                                 ~~~~~~~~~~~~~~~~~~~~~~~

node_modules/@discordjs/voice/dist/index.d.ts:1732:41 - error TS2315: Type 'Buffer' is not generic.

1732     prepareAudioPacket(buffer: Buffer): Buffer<ArrayBufferLike> | undefined;

When trying to build. But it still builds the bot and able to start it normally.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors