Skip to content

A small discord bot that plays music. Uses WPF for the UI

Notifications You must be signed in to change notification settings

skyloutyr/SLTPrivateMusicBot

Repository files navigation

SLT Music Bot

This is a small WPF application that is designed to create a discord bot to play music on a discord server. It uses Discord.Net for the web backend and WPF for the frontend.

Building

To build this application you will need the following:

Usage

  • Using the discord bot creation tool invite the bot to your server. In theory it only needs permissions to read messages/roles, join voice channels and stream audio. However in practice usually an admin role will be needed. Not really sure why, but otherwise discord's api will return a permission error on any operation.
  • Start the executable and press connect. Your bot should go online.
  • Make an administrator of the server ping the bot in any channel while they are in a voice channel. The bot should join the channel.
  • Drag and drop your media files into the bot application window. It will process them and put them into the playlist.
  • optional if youtube-dl is installed you can drag and drop a youtube link into the application aswell, though downloading videos takes a considerable amount of time.
  • Play your audio using the controls.

Disclaimer

This is a hobby project and was not really intended for a real usage outside of the debug mode in an IDE. The repository here on github exists for educational purposes mostly. The bot is also not well-optimized, storing the PCM in ram (only the currently playing one).

About

A small discord bot that plays music. Uses WPF for the UI

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages