I am just a developer who's studying computer science in college. I don't have a set upload schedule due to what's stated above, so don't expect weekly uploads or such for the time being. Thank you for checking out my channel! Don't forget to subscribe!!!! :)
Thank you for your effort. I discovered your channel through your first guide about Discord bots in Python. I'm still a beginner, so I will use this to learn. Thank you.
You can… I think it is through discord.Spotify, you might have to check their documentation though as I could be wrong since I don’t use the listening one
I managed to fix the command error by putting "await interaction.response.send_message(f"{amount} messages are being deleted, please wait...", ephemeral=True)" after the return
Great vid man! I guess one way for making the cooldown is to have a new column in the table with a utc stamp of their last message that increased their level. Then have a check for the amount of time past that last message you want the next message to count if that makes sense... obviously this would really only work for small servers or else thats a lot of rewrites to the db.
For the clear command error, you want to use interaction.response.defer() as the first response and then replace all instances of interaction.response with interaction.followup
Can you add some code here to be specific? I tried replacing "await interaction.channel.send(f"{interaction.user.mention} has deleted {len(deleted_messages)} message(s).")" with "await interaction.response.defer(f"{interaction.user.mention} has deleted {len(deleted_messages)} message(s).")" and it did NOT like that lol
Um hello It didn't work for me somehow I did the same thing you did And uh it said that the bot is ready but.. Not the joinhandler I tried and added a another bot but it didn't send anything even tho my bot is online
PS C:\Users\sikha\Desktop\python> & C:/Users/sikha/AppData/Local/Programs/Python/Python312/python.exe c:/Users/sikha/Desktop/python/main.py Traceback (most recent call last): File "c:\Users\sikha\Desktop\python\main.py", line 1, in <module> import discord ModuleNotFoundError: No module named 'discord' this is the error i get when running this programm any one know what the issue is?? PLS HELP ME
IMPORTANT - PLEASE READ! Hello, I wanted to deeply apologize for the 40+ days between this upload and my previous ones. I also deeply apologize if the quality of this video is not up to par with the rest of my uploads. Honest to God with you all I did rush this upload and that is why it does not look as good as my others, I wanted to push something out as soon as possible to not leave you guys hanging. The reason for this is solely because of recent events that took place. As you may know if you are following me in my Discord server, I recently took a trip to visit family in another country (as mentioned in video). However, something that I did not expect to happen was being stranded there. But politics and geopolitical mess always finds a way to pertrude into our lives. And unfortunetly I fell victim to that. Thankfully, God has blessed me with a way back home, so that I can further push uploads for you guys. It took me a while to get back home, it was a long, stressful, and overall gutwrenching process. But I made it. Sadly I made it right in the middle of the beginning of my college semester, so I had no time to prepare beforehand. With all of that happening at once, it genuinely threw me off course by a large margin, and it was a very rough week for me to adapt and reintegrate myself to my new busy schedule with a job and school all while trying to run and maintain this channel plus my amazing House of Code community. I appreciate each and every one of you for being patient and supporting me no matter what has happened. Now that I am back home and settled down with my schedule, I am ready to push uploads and tutorials to you all. Thank you Best regards, Tamer Alssaleh (Paradoxial)
When I try to use dotenv in vscode it throws error about not being able to grab my token whenever I try to run my script I followed another tutorial on how to create a chat bot but it still didn't work and tried to look for various debugging videos/ stack overflow. And nothing help when I tried to run the script on pycharm the script ran fine with no errors
The issue is located in how you are running your project’s file path on VSC. See, whenever you want to add a folder as a workspace, you should ONLY add the folder that contains your main.py or bot.py files. So in other words, add the parent folder of your Python files. This will resolve that issue.
Cogs are good for organizing commands. You can have multiple cogs for different types of commands. A good example is a cog dedicated to moderation commands. You can also reload, unload, or load cogs and activate/deactivate commands without having to restart your bot.
Well there isn’t really a solution that’s 100% free.. at the very least a good one that is. You could theoretically turn your PC into a server that can run your discord bot. You can download Xampp and start a MySQL server and then you would use a special you have to pip install instead of SQLite3. I have a budget server of mine at home that runs my discord bot. Although I use local database because it’s easier and faster to get set up.