Create a Discord Music Bot with a Queue in Python [2024]

Опубликовано: 21 Октябрь 2024
на канале: Ethan | The Code Syndicate
6,224
152

Today we'll be making a Discord music player bot with a queue in Python using prefix commands!

*DISCLAIMER*
This video is for educational purposes ONLY. Anything produced by this video should respect YouTube guidelines on streaming and downloading videos. Bots made using this content are not to be distributed, both non-commercially and commercially.

Old bot code: https://github.com/MasterReach1/disco...

Code for this video:
https://github.com/MasterReach1/disco...

Timeline:
00:00 Intro
00:18 Web portal settings
02:50 Get base code
03:24 Setting up prefix (slash) commands
05:54 Make queue command
07:54 Add play next song function to play()
09:43 After function of play()
10:08 Lambda function explained
11:24 Testing the queue
12:38 Add memory safe feature to stop()
13:08 Clear queue function
15:00 Test clear queue function
15:51 Outro