RubenFern / soundwave-discord-bot

SoundWave is a YouTube audio playback bot in discord. SoundWave will join the voice channel you are in and play the content you have chosen, it allows you to play through a link to a Youtube video or playlist, or by a normal search.
MIT License
1 stars 0 forks source link

Migrate code to Typescript, Java or C# #1

Open RubenFern opened 7 months ago

RubenFern commented 7 months ago

Create a new branch to perform the migration.

Using Typescript compilation for Node. https://nodejs.org/en/learn/getting-started/nodejs-with-typescript https://typestrong.org/ts-node/

Use Command pattern and add a usage timer to all commands, in case of inactivity disconnect from the channel where it is located.

RubenFern commented 4 months ago

Seriously considering the use of Java through JDA https://jda.wiki/introduction/jda/ to make a more robust code using the Command design pattern

RubenFern commented 4 months ago

Another option is to do it in C#, its API seems to be better documented. https://docs.discordnet.dev/guides/introduction/intro.html