Create a discord music bot using python

  Рет қаралды 39,861

Computeshorts

Computeshorts

Күн бұрын

#discord #bot #python #music
Learn how to create a popular music bot in just a few lines of python code and the discord.py library. This bot will include the ability to skip current songs as well as seeing what is going to be played next in the queue.
👕 BEST MERCH - computeshorts.creator-spring....
full source code: github.com/pawel02/image_bot
My stuff ( these are affiliated )
⌨️ keyboard - amzn.to/3aNzRTk
🖲️ mouse - amzn.to/3MGLcl6
🎧 headphones - amzn.to/3MGasYM
🖥️ monitor - amzn.to/3xomJeO
follow me on twitter: / computeshorts
Check out my blog: computeshorts.com/
music from www.bensound.com/royalty-free...

Пікірлер: 190
@goon3305
@goon3305 2 жыл бұрын
fantastic video. Subbed because of how informative this was
@dadolphinplayz
@dadolphinplayz 3 жыл бұрын
Thank you so much this really helped me all the other tutorials just gave me errors
@hampuechagut5498
@hampuechagut5498 3 жыл бұрын
THANK YOU SO MUCH MAN, THANK YOU IT TOOK ME SO MUCH TIME TO TRY AND MAKE IT WORK, and then you just fell in my recomendations, thank you!!!!!!!
@ArthasMenethil335
@ArthasMenethil335 3 жыл бұрын
Thanks for your work !!!!
@Computeshorts
@Computeshorts 3 жыл бұрын
no problem I will soon release a video on deploying it to a server using docker
@AzureKnight
@AzureKnight 2 жыл бұрын
this how a real developer codes fr best coding tutorial i have seen on the youtube thnx mate you gain a sub and a like haha XD
@MIKKUCN
@MIKKUCN 2 жыл бұрын
THANK YOU SO MUCH 😊😊
@divyanshexpert
@divyanshexpert 2 жыл бұрын
thanks a lot! for some reason the queue command always gives "no music in queue" even when there is music in the queue . how can i fix that?
@lucadallavilla9720
@lucadallavilla9720 2 жыл бұрын
Thank you!
@DanyGates0693
@DanyGates0693 2 жыл бұрын
This is the one and only tutorial that actually works, also very well explained. Would be nice if we could also add urls directly as input :)
@matheuss4021
@matheuss4021 2 жыл бұрын
hi, i made the bot but appears that the song is playing but i cant hear it, can you help me?
@DanyGates0693
@DanyGates0693 2 жыл бұрын
@@matheuss4021 yea make sure you don't have any typo anywhere
@DanyGates0693
@DanyGates0693 2 жыл бұрын
@@matheuss4021 and make sure your ffmpeg options are correctly set up
@matheuss4021
@matheuss4021 2 жыл бұрын
@@DanyGates0693 I don't had saved ffmpeg in path, it's working now, thanks
@kevinvi7
@kevinvi7 2 жыл бұрын
@@matheuss4021 How did you get ffmpeg saved in path?
@stickan3119
@stickan3119 2 жыл бұрын
if i wanted to do a song command that fetches the songs name that is currently playing, how would i do that?
@itaybechor2013
@itaybechor2013 3 жыл бұрын
on witch launcher you programmed that because i tried it on replit and pycharm and its didnt worked please if anyone sees that tell me
@shivamchhapola5245
@shivamchhapola5245 2 жыл бұрын
What's the difference between getting url directly from entries like info['url'] than doing info['formats'][0]['url']? Is the formats one better?
@sSilverNox
@sSilverNox 2 жыл бұрын
Ok but what if I wanted to show the name of the current song, how can I do that?
@Fine_Mouche
@Fine_Mouche 2 жыл бұрын
yo, thanks you ^^ i come from your github ^^
@santiagovalentine8294
@santiagovalentine8294 2 жыл бұрын
Man, all the other python KZfaq tutorials I've seen of a music bot, are shit... This tutorial is the best one of all! Short and greatly explained. Also you added a queue, one thing that the other bots didn't had.
@paratustra
@paratustra 2 жыл бұрын
great tutorial
@AzureKnight
@AzureKnight 2 жыл бұрын
Brother will you help to get code for playing playlists?? for discord.py bot i am finding if you have then please let me know
@vanishsynax
@vanishsynax 2 жыл бұрын
It joins the vc, i can skip and all that but i dont hear anything, like its not actully playing
@ozzythewolfie
@ozzythewolfie 3 жыл бұрын
Those whose bot doesnt play sound be sure that there is no error and your bots doesnt have intents in your code.
@recorderman2980
@recorderman2980 3 жыл бұрын
Oh my god thank you so much! I saw your reply on stack overflow and that helped me so much! I would also like to add that if anyone encounters the error: 'Command raised an exception: OpusError: invalid argument' that I was able to solve it by changing all instances of 'FFmpegPCMAudio' to 'FFmpegOpusAudio'.
@SavageRansey
@SavageRansey 2 жыл бұрын
I love you thank you a lot offf
@vision6568
@vision6568 2 жыл бұрын
hey bro can u help me, how to add seek and nowplaying function
@srkm5066
@srkm5066 2 жыл бұрын
How can I fix this? AttributeError: 'str' object has no attribute 'author'
@mememan6198
@mememan6198 3 жыл бұрын
Yeah so i dont use cogs because I'm too stoopid to understand how they function but I wanna add a music command to my bot and this tutorial flew right past my head
@Sexinthecity35
@Sexinthecity35 3 жыл бұрын
I don't use cogs either, my bot is fully custom and doesn't use of the discord.ext shit
@_MoKhaled
@_MoKhaled 2 жыл бұрын
@@Sexinthecity35 so i can make it without any thing from scratch?how dude?
@spacemanqq
@spacemanqq 2 жыл бұрын
How can i upgrade this bot, so i can stream youtube live into voice chat?
@lucas_stc
@lucas_stc 2 жыл бұрын
How to make if no song is playing then leave voice channel?
@Vendzy.
@Vendzy. 2 жыл бұрын
Hello this command works brilliantly on my main pc but when I add it to my hosting server I can not here the audio. Its something to do with ffmpeg because when I type in cmd ffmpeg -version it gives an error and says ffmpeg not responding any fix?
@Computeshorts
@Computeshorts 2 жыл бұрын
What sort of server do you have? What OS is it running? What sort of programs do you have on it ( as browsers can cause problems ugetfix.com/ask/how-to-fix-ffmpeg-exe-has-stopped-working-error-on-windows/#:~:text=The%20first%20method%20that%20you,removal%20of%20Ffmpeg.exe%20file.&text=To%20stop%20%E2%80%9CFfmpeg.exe%20has,After%20that%2C%20reboot%20your%20PC.)? Did you try reinstalling it?
@just.james.
@just.james. 3 жыл бұрын
When i run my bot i get the error: "ExtensionFailed: Extension 'cogs.music-cog' raised an error: SyntaxError: 'await' outside async function" but in the tutorial its the same! Can some1 help?
@trablaktivoo857
@trablaktivoo857 3 жыл бұрын
You have to add the cog to your main.py file
@kevinvi7
@kevinvi7 2 жыл бұрын
I keep working on this and just keep getting the "Ffmpeg not found" error. I have used pip to uninstall & reinstall ffmpeg several times, and have also added it to my system path. Any suggestions from anyone?
@kevinvi7
@kevinvi7 2 жыл бұрын
ok for anyone having this issue: The random fix for me was to use pip to uninstall and reinstall ffmpeg, then restart the computer. No clue why, but that solved this issue.
@cicirubi5079
@cicirubi5079 2 жыл бұрын
Thank you for this tutorial. I wonder if we can turn Spotify URLs into youtube links under this code
@horix4860
@horix4860 2 жыл бұрын
Under this code, no. This code was made specifically for KZfaq URLs, using KZfaq's api.
@NotCarpeDM
@NotCarpeDM 3 жыл бұрын
I know that Discord at some point had some code changes, a lot of tutorial code doesn't work anymore. Is this verified as working as of remotely recent?
@NassimBDK
@NassimBDK 2 жыл бұрын
it works i just tried it
@theledip
@theledip 2 жыл бұрын
It always says that its a livestream/playlist or whatever no matter what i put in can someone please help?
@AzureKnight
@AzureKnight 2 жыл бұрын
check your if else condition for the song type or rewrite it like this: if type(song) == type(True): await ctx.send("> **Could not download the song. Incorrect format try another keyword. This could be due to playlist or a livestream format.**")
@binhkoii3659
@binhkoii3659 2 жыл бұрын
I know it's quite late when I found out about this video, I tried your code and had 2 problems: + In the line if user.voice.channel.id == ctx.voice_client.channel.id and user.id not in reacted and not user.bot: when running it gives the error "User object has no attribute voice" + Even when the previous song is over, when i play the next song, it's on the queue and now the skip command can't run so i don't know what to do, thanks for your concern
@rayward9799
@rayward9799 2 жыл бұрын
how did you solve the problem?
@JustinInBlack
@JustinInBlack 2 жыл бұрын
Please help! I did everything and my bot is online, however, when I type "/p lofi chill" for example, it returns "discord.ext.commands.errors.CommandNotFound: Command "p" is not found" I host and write my code on replit. Thank in advance!
@AzureKnight
@AzureKnight 2 жыл бұрын
its beacuse you have to write the command as same as the name of the def function like if you have written async def p(self, ctx) then you have to write it like "command prefix"p "song name"
@JustinInBlack
@JustinInBlack 2 жыл бұрын
@@AzureKnight I litterally just copy his code tho @@
@sscorn134
@sscorn134 2 жыл бұрын
@@JustinInBlack same issue here
@kevinvi7
@kevinvi7 2 жыл бұрын
Change the "p" to "play"
@dvidpi
@dvidpi 2 жыл бұрын
Thanks! Can you please add a pause command?
@kaganozer
@kaganozer 3 жыл бұрын
First of all thank you for this video. But I got an error. My bot can connect to my voice channel but without playing music. After around 5 seconds, It says "TimeoutError" in terminal and bot disconnects. What should I do? Full error: Ignoring exception in command p: Traceback (most recent call last): File "D:\Python\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped ret = await coro(*args, **kwargs) File "D:\PycharmProjects\Kagan\discord\music_cog.py", line 61, in p await self.play_music() File "D:\PycharmProjects\Kagan\discord\music_cog.py", line 38, in play_music self.vc = await self.music_queue[0][1].connect() File "D:\Python\lib\site-packages\discord\abc.py", line 1285, in connect await voice.connect(timeout=timeout, reconnect=reconnect) File "D:\Python\lib\site-packages\discord\voice_client.py", line 345, in connect await utils.sane_wait_for(futures, timeout=timeout) File "D:\Python\lib\site-packages\discord\utils.py", line 362, in sane_wait_for raise asyncio.TimeoutError() asyncio.exceptions.TimeoutError The above exception was the direct cause of the following exception: Traceback (most recent call last): File "D:\Python\lib\site-packages\discord\ext\commands\bot.py", line 939, in invoke await ctx.command.invoke(ctx) File "D:\Python\lib\site-packages\discord\ext\commands\core.py", line 863, in invoke await injected(*ctx.args, **ctx.kwargs) File "D:\Python\lib\site-packages\discord\ext\commands\core.py", line 94, in wrapped raise CommandInvokeError(exc) from exc discord.ext.commands.errors.CommandInvokeError: Command raised an exception: TimeoutError:
@theledip
@theledip 2 жыл бұрын
did you remember to put await at the beginning of the line
@markmccormicklopez3402
@markmccormicklopez3402 3 жыл бұрын
You go girl 👧
@Computeshorts
@Computeshorts 3 жыл бұрын
Thanks girl
@envo6316
@envo6316 2 жыл бұрын
how do i install the dl
@SpongebobFan1127
@SpongebobFan1127 3 жыл бұрын
works
@ullasuis8381
@ullasuis8381 2 жыл бұрын
I couldnt install youtube_dl package and using pip it is not working any idea??
@Computeshorts
@Computeshorts 2 жыл бұрын
What's the error message you're getting?
@Ash-ut1sw
@Ash-ut1sw 2 жыл бұрын
Bro.. lets say that I am not using cogs.... what should i use instead of self?!
@irwe3514
@irwe3514 2 жыл бұрын
Help me pls🥺 RuntimeError: Event loop is closed
@toppyos
@toppyos 3 жыл бұрын
I get an error saying ClientException: ffmpeg was not found. I installed the ffmpeg package but it still seems to do the same
@Computeshorts
@Computeshorts 3 жыл бұрын
did you put the path to ffmpeg.exe in your environment variables?
@mr.patata9267
@mr.patata9267 3 жыл бұрын
You can specify the FFmpeg executable directly with the argument executable: vc = await channel.connect() vc.play(discord.FFmpegPCMAudio(executable="C:/path/ffmpeg.exe", source="mp3.mp3")) This, well... worked for me.
@kevinvi7
@kevinvi7 2 жыл бұрын
@@mr.patata9267 Do you have the file path leading back to your site packages?
@MRGAMER-oq3rf
@MRGAMER-oq3rf 2 жыл бұрын
hey um now idk why thou i get this error in terminal when i run it AttributeError: 'NoneType' object has no attribute 'strip' can you help me please
@Computeshorts
@Computeshorts 2 жыл бұрын
Sure could you send me a link to your github or show me a bot more of your code as I am not sure what could've caused this?
@AneeshKumarbananaaneesh123456
@AneeshKumarbananaaneesh123456 2 жыл бұрын
@@Computeshorts i have the same error. my code is the exact same code as yours except i deleted the bot.add_cog(image_cog(bot)) in main.py because I do not need the image bot functionality.
@pudzy8441
@pudzy8441 3 жыл бұрын
so i have no errors but it dosent do anything when typing /p chill muisic
@pudzy8441
@pudzy8441 3 жыл бұрын
no cog file command works
@LilDevTrades
@LilDevTrades 2 жыл бұрын
@@pudzy8441 did you import the cog?
@agustinmolina3283
@agustinmolina3283 2 жыл бұрын
hey can you do that with spotify?
@khanhnorthside202
@khanhnorthside202 2 жыл бұрын
File "e:\Khanh\main.py", line 1, in import discord ModuleNotFoundError: No module named 'discord' help me
@aii_chacheyyy9466
@aii_chacheyyy9466 2 жыл бұрын
You need to download the module first. Go to your terminal and type pip install discord
@anthonylectora4845
@anthonylectora4845 2 жыл бұрын
my play command play command isnt working. Anyone know what the problem is? \
@LilDevTrades
@LilDevTrades 2 жыл бұрын
What happens when you type the command? Any errors?
@NassimBDK
@NassimBDK 2 жыл бұрын
i copy pasted i hope your ok with that but i did add a loop and a disconnect command
@catbreadcrumbs1867
@catbreadcrumbs1867 2 жыл бұрын
Can you make a loop command? I can't figure it out myself.
@chrischen6664
@chrischen6664 2 жыл бұрын
You need to deal with the queue system My guess is to instead of popping song right after we play them, we just move the play now variable instead. cheers!
@Pr0methium
@Pr0methium 3 жыл бұрын
Traceback (most recent call last): File "main.py", line 270, in client.add_cog(image_cog(client)) File "/home/runner/Bot-tester/image_cog.py", line 27, in __init__ self.update_images() File "/home/runner/Bot-tester/image_cog.py", line 48, in update_images for filename in os.listdir(self.download_folder): FileNotFoundError: [Errno 2] No such file or directory: 'downloads' I get this error every time altho I hv the same source code as you, I'm editing the code on replit, please help me!
@Ozzymand
@Ozzymand 3 жыл бұрын
as the error says on the bottom line, you are missing the folder "downloads"
@Pr0methium
@Pr0methium 3 жыл бұрын
@@Ozzymand Ik that but what shld I do to fix it?
@Ozzymand
@Ozzymand 3 жыл бұрын
@@Pr0methium create the folder downloads in the root directory
@Pr0methium
@Pr0methium 3 жыл бұрын
okay, and I don't need to put any data in the downloads folder?
@sidsriramoffl1785
@sidsriramoffl1785 2 жыл бұрын
noiceee tq so much dude it was help full i wonder where did you get the 1:11 copy paste though??
@Computeshorts
@Computeshorts 2 жыл бұрын
Thanks, I copied and pasted this because this is just some boilerplate code and I did not want to mess up typing out, I go it from the youtube_dl library which you can read up more on github.com/ytdl-org/youtube-dl/blob/master/README.md#embedding-youtube-dl
@michaelperetz2229
@michaelperetz2229 3 жыл бұрын
my bot joins to the voice channel but not playing the song I used m/play (random song from youtube) in the console it downloaded the song and then the bot joined but didnt play the song
@Computeshorts
@Computeshorts 3 жыл бұрын
Do you have ffmpeg installed on your machine? when installing discord py did you make sure that you have voice as well like `python -m pip install -U discord.py[voice]`? Did you get any errors?
@michaelperetz2229
@michaelperetz2229 3 жыл бұрын
@@Computeshorts when I try to run this is cmd I get the requiermants already satissfied so I guess I have it installed
@Computeshorts
@Computeshorts 3 жыл бұрын
@@michaelperetz2229 Do you get any errors?
@michaelperetz2229
@michaelperetz2229 3 жыл бұрын
@@Computeshorts no
@frederikblais
@frederikblais 3 жыл бұрын
I have the same issue, my bot output the correct response (' Song added to the queue ') but my guess is that in the play_music function, there's something missing that does not output audio to the server. Here's my packages: Requirement already satisfied: discord.py[voice] in c:\python39\lib\site-packages (1.7.2) Requirement already satisfied: PyNaCl=1.3.0 in c:\python39\lib\site-packages (from discord.py[voice]) (1.4.0) My bot has admin rights. I followed along the video and got the same problem, I then make sure to take the exact same code as your last git commit and still have the same issue. At this point, my bot is able to execute all commands but the only thing missing is the output of the audio. I see in my console that the KZfaq video was found and downloaded. Any ideas?
@setsunaj_8955
@setsunaj_8955 3 жыл бұрын
I have the Problem that all time there is No module named 'voice' Could somebody help me by that?
@Computeshorts
@Computeshorts 3 жыл бұрын
you need to install discord with the voice module like so 'pip install -U discord.py[voice]' read more about it here pypi.org/project/discord.py/
@setsunaj_8955
@setsunaj_8955 3 жыл бұрын
@@Computeshorts i did it but its still there
@AzureKnight
@AzureKnight 2 жыл бұрын
first define voice before the line where you want to use it like this: voice = discord.utils.get(client.voice_clients, guild=ctx.guild) hope it will works
@matheuss4021
@matheuss4021 2 жыл бұрын
someone can help, i made my bot but i cant hear the song :V
@LilDevTrades
@LilDevTrades 2 жыл бұрын
You most likely didn't install FFmpeg correctly. Are you on Mac or Windows?
@LilDevTrades
@LilDevTrades 3 жыл бұрын
If your bot joins the voice channel but doesn't play any audio that means you didn't install FFmpeg correctly.
@shabnamislam7012
@shabnamislam7012 3 жыл бұрын
I have installed Ffmpeg correctly and there's no error, it is showing that the bot has joined the channel and also playing music but the audio is not coming. Please help🙏
@cherryleung9236
@cherryleung9236 3 жыл бұрын
@@shabnamislam7012 me too
@AzureKnight
@AzureKnight 2 жыл бұрын
install PyNacl library if already did then try to re-install ffmpeg
@cesarosantini708
@cesarosantini708 2 жыл бұрын
tutorial is excelent and clear, i have one issue with the source code when i run 'p' command i get error " COMMAND NOT FOUND "
@kevinvi7
@kevinvi7 2 жыл бұрын
Any fix for this yet? Same error here.
@kevinvi7
@kevinvi7 2 жыл бұрын
Wait, change the 'p' to 'play'
@LilDevTrades
@LilDevTrades 2 жыл бұрын
Did you import the cog?
@kevinvi7
@kevinvi7 2 жыл бұрын
@@LilDevTrades The issue that I'm having now is that it's saying "ffmpeg not found", any advice there?
@LilDevTrades
@LilDevTrades 2 жыл бұрын
@@kevinvi7 are you on Mac?
@luccanasser9390
@luccanasser9390 3 жыл бұрын
is there a stop or pause command?
@AzureKnight
@AzureKnight 2 жыл бұрын
@commands.command async def pause(self, ctx): voice = discord.utils.get(client.voice_clients, guild =ctx.guild) if voice.is_playing(): voice.pause() await ctx.send("player paused") else: await ctx.send("there is no song playing at the moment")
@AzureKnight
@AzureKnight 2 жыл бұрын
or if you got error in voice.is_playing() on the upper code mostly all people get than use the following code: @commands.command(name="pause", help="pause the currently playing song") async def pause(self,ctx): if self.vc == "": await ctx.send("> ** I am not connected to a voice channel**") else: Paused = ctx.voice_client.is_paused() if Paused != True: self.vc.pause() await ctx.send("> **Player Paused ⏸️**️") elif Paused == True: await ctx.send("> **The player is already paused.**") else: await ctx.send("> **I am not connected to a voice channel.**")
@dvidpi
@dvidpi 2 жыл бұрын
@@AzureKnight How do i unpause
@sil8nt653
@sil8nt653 3 жыл бұрын
My thing says unable to import youtube_dl
@Computeshorts
@Computeshorts 3 жыл бұрын
Did you do 'pip install youtube_dl' ? Also, make sure that you do 'pip install discord.py[voice]'
@sil8nt653
@sil8nt653 3 жыл бұрын
@@Computeshorts i got a error for doing pip install discord.py[voice] error: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-MJ0zWn/aiohttp/
@Computeshorts
@Computeshorts 3 жыл бұрын
@@sil8nt653 try to do 'pip install --upgrade' following this issue post github.com/facebook/prophet/issues/418
@ccj0s
@ccj0s 3 жыл бұрын
how can i do pause,leave,resume commands?
@Computeshorts
@Computeshorts 3 жыл бұрын
if you look here discordpy.readthedocs.io/en/latest/api.html#discord.VoiceClient . You can find all the methods that you can call. Pause leave and resume will be very similar to the stop command. Simply replace the word stop with the command that you want to use.
@ccj0s
@ccj0s 3 жыл бұрын
@@Computeshorts ok thx
@ccj0s
@ccj0s 3 жыл бұрын
@@Computeshorts i have a problem with queue... When i add 2 songs it playing well but when he stop and i add 1 more song he doesnt play it
@ccj0s
@ccj0s 3 жыл бұрын
@@Computeshorts and i need rerun the bot
@Computeshorts
@Computeshorts 3 жыл бұрын
@@ccj0s could log the issue here github.com/pawel02/image_bot/issues with your code so I can download and debug it?
@MRGAMER-oq3rf
@MRGAMER-oq3rf 2 жыл бұрын
im @sriram teja i just commented last day
@houndsgang9413
@houndsgang9413 3 жыл бұрын
6:28
@striker3531
@striker3531 3 жыл бұрын
how can i install youtube_dl?
@Computeshorts
@Computeshorts 3 жыл бұрын
You can use pip. If you have installed python then pip should have come with it. If you have python installed globally try running "python -m pip install youtube_dl"
@striker3531
@striker3531 3 жыл бұрын
@@Computeshorts i already install it but now the bot just says "Song added to the queue" and dont play nothing and doesn't join in the channel any help?
@OG_Nimbi
@OG_Nimbi 3 жыл бұрын
Doesn't work. cant find anything....
@noctesomnium
@noctesomnium 2 жыл бұрын
any clue? doesn't work for me either. got this error when using /p: TypeError: p() missing 1 required positional argument: 'ctx'
@AzureKnight
@AzureKnight 2 жыл бұрын
@@noctesomnium just right ctx before the argument or the statement in the line where the error occurred
@thuvinsunsenthamilselvan1644
@thuvinsunsenthamilselvan1644 3 жыл бұрын
Wtf u doin there ur ye ye as haircut
@Computeshorts
@Computeshorts 3 жыл бұрын
dab on dem haters XD
@finnsmusic9157
@finnsmusic9157 3 жыл бұрын
Will this work on replit?
@Computeshorts
@Computeshorts 3 жыл бұрын
I don't think so. I think that repl.it runs the code on external servers which might block connections needed for the discord bots.
@kadeb6970
@kadeb6970 3 жыл бұрын
Yes you can. I use it for multiple bots of mine
@yournarrator3970
@yournarrator3970 3 жыл бұрын
Yes it work
@anoobis4996
@anoobis4996 3 жыл бұрын
Dzięki szefie d(-_-)b
@itismeyesyouheardmerightit1702
@itismeyesyouheardmerightit1702 Жыл бұрын
discordDL wont install
@itismeyesyouheardmerightit1702
@itismeyesyouheardmerightit1702 Жыл бұрын
sorry i mean youtubeDL wont install
@thegingergamer1325
@thegingergamer1325 3 жыл бұрын
nooooooooooooooooooo
@Computeshorts
@Computeshorts 3 жыл бұрын
what do you mean no? XD
@thegingergamer1325
@thegingergamer1325 3 жыл бұрын
@@Computeshorts you tell me
@houndsgang9413
@houndsgang9413 3 жыл бұрын
this dude is copyin and pastin all of this🤣
@AzureKnight
@AzureKnight 2 жыл бұрын
he knew how to or where to apply the copied functions most of the people don't even knows where to use the code after copy so don't laugh on others it's still hard to do real programmers copy things nvm noob
@SizzlyPK
@SizzlyPK 2 жыл бұрын
Ill be the dislike button
@evanfisher4943
@evanfisher4943 3 жыл бұрын
I'm getting errors because 'retval' is not defined. How do I define it?
@AzureKnight
@AzureKnight 2 жыл бұрын
right this at the first line of your queue function: retval = " " that's it
How to write a Discord Role Reaction Bot in Python w/ Discord.py
17:16
Anson the Developer
Рет қаралды 59 М.
Discord Image bot
14:20
Computeshorts
Рет қаралды 18 М.
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 79 МЛН
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 7 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 34 МЛН
Code a Discord Chat Bot That Talks Like Your Favorite Character - Tutorial
57:52
How to make advanced image recognition bots using python
15:01
Kian Brose
Рет қаралды 1,3 МЛН
Create a Discord Music Bot [Python]
16:26
Ethan | The Code Syndicate
Рет қаралды 10 М.
Python: Making a Discord bot (Part 7: Cogs)
22:55
Lucas
Рет қаралды 200 М.
Creating a Discord Bot in Python 3.9 Tutorial (Fast & Easy)
12:59
Part 0 - Getting Started | How To Code A Discord.py Music Bot
19:22
Code a Discord Bot with Python - Host for Free in the Cloud
1:08:28
freeCodeCamp.org
Рет қаралды 2,3 МЛН
Проверил, как вам?
0:58
Коннор
Рет қаралды 80 М.
Частая ошибка геймеров? 😐 Dareu A710X
1:00
Вэйми
Рет қаралды 1,7 МЛН
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 3 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 63 МЛН
Kumanda İle Bilgisayarı Yönetmek #shorts
0:29
Osman Kabadayı
Рет қаралды 2,2 МЛН