A simple Discord bot used to handle school's broadcasting system
Here's a list of all of its commands:
/grane- shows what's currently playing/lista- shows what was played since launch of the bot/dodaj <id>- adds a song to queue (given that you're an admin)/zestawienie <timespan>- shows top 10 tracks in a given timespan/losowe <id>- adds 3 random songs from a playlist/clear- clears the list of today's played tracks/szukaj <query>- adds a song to queue as a search by name (given that you're an admin)/playlista <gatunki> <explicit>- creates a playlist from given genres/propozycja <query> <dedykacja>- send a proposition of a song to admins/pomin- skips a song (given that you're an admin)/stop- stops playback (given that you're an admin)/przerwa <godzina>- starts a thread to manage a break at a given hour
Remember to edit the config.py file:
- TOKEN is your Discord bot token
- SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET are your client id and client secret from Spotify's API
- admin_role is the ID of an admin role from your server
- proposition_channel is the ID of the channel to which propositions will be sent
- default_playlist is the link to a spotify playlist from which the bot will add random songs (/losowe)
- default_volume is the percentage of volume that the bot will automatically set when starting playback