Also I dont know if anyone else had this problem but for some reason on his side when typing the await interaction.response.send_message(f"Pong!..."{bot_latency},"ms") you have to put commas between each thing so it would look like this await interaction.response.send_message(f"Pong!...", {bot_latency}, "ms") Dont know if anyone else had that problem and I don't know how he did not get that error but that is the solution!
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for multidict Failed to build frozenlist multidict ERROR: Could not build wheels for frozenlist, multidict, which is required to install pyproject.toml-based projects
Exception has occurred: ModuleNotFoundError No module named 'discord' File "C:\Users\anyel\Downloads\discordbot\main.py", line 1, in import discord ModuleNotFoundError: No module named 'discord' Can someone please help me?
hello say i alr had a bot and i made a new file for js commands how do it get it to work with the main file? do i just require or import it in the main file if this makes sense
hey brother i wanna run bot from prefix and slash command also but when i copy and paste and i just change to bot.tree.command then a yellow line comes under async
@client.event async def on_ready(): await client.wait_until_ready() print(f"{client.user.name} is logged in.") My code has the following error: "name" is not a known member of "None"
Thank you! I've learned a lot from this.
Also I dont know if anyone else had this problem but for some reason on his side when typing the
await interaction.response.send_message(f"Pong!..."{bot_latency},"ms") you have to put commas between each thing so it would look like this
await interaction.response.send_message(f"Pong!...", {bot_latency}, "ms")
Dont know if anyone else had that problem and I don't know how he did not get that error but that is the solution!
You wont believe but this is my first discord project that worked
and it worked by your tutorial thanks a lot
same
Hey, the slash command doesn't work
its not slash its prefix
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for multidict
Failed to build frozenlist multidict
ERROR: Could not build wheels for frozenlist, multidict, which is required to install pyproject.toml-based projects
python version
Make sure your python is updated if still occur update your pip or reinstall it (i have fixed the same issue by installing Microsoft visuals)
'Bot' object has no attribute 'tree' where u get tree bro?
Timestamp :
00:00 Intro
00:20 Creating bot profile
02:57 Invite bot to server
03:35 Coding
07:30 Prefix command
09:00 Bot activity and status
10:43 Slash command
13:18 Outro
Rip gojo :(
I did the pip install discord and the script don't find the discord module!
this is the best video for newbie like me
Im glad that you understand thank you ❤️
the bot is not coming online what did i do wrong? i did exactly like u did
Make sure you follow the code correctly and provide the terminal error for more help
Interactions does not work now, its dead
welp. RIP.
Exception has occurred: ModuleNotFoundError
No module named 'discord'
File "C:\Users\anyel\Downloads\discordbot\main.py", line 1, in
import discord
ModuleNotFoundError: No module named 'discord'
Can someone please help me?
Did you "pip install discord" in the terminal?
hello say i alr had a bot and i made a new file for js commands how do it get it to work with the main file? do i just require or import it in the main file if this makes sense
Very nice tutorial
paste this 5:47
I need help
Bot' object has no attribute 'tree', where u get tree bro? and Interaction dead how i can make slash command?
YEAH I HAVE NO CLUE HOW HES GETTING THAT??
When i run it it say ( 'modul' object is not callable) can you help me?
Google it
Bro why would you post spoilers in a devving tutorial 😢 damn..
Ok views de Diya le
LBish Bhai
😂😂
Not working for me, no slash command
Sorry to hear that but this is working correctly for me and if you can provide the exact error I will further help you with that
hey brother i wanna run bot from prefix and slash command also but when i copy and paste and i just change to bot.tree.command then a yellow line comes under async
thankyou
Thankyou too for the support ❤
@client.event
async def on_ready():
await client.wait_until_ready()
print(f"{client.user.name} is logged in.")
My code has the following error:
"name" is not a known member of "None"
dont use "await client.wait_until_ready()" remove it and try again.
You wont believe but this is my first discord project that worked
and it worked by your tutorial thanks a lot