Subscribe if you enjoyed! Comment below if you have doubts
@primedust14 жыл бұрын
I want to make the bot to run even though i have closed cmd
@vatot12953 жыл бұрын
when ever i do anything it says No command found called ban/clear/kick...
@rudra33003 жыл бұрын
ok
@zaaffe24bs163 жыл бұрын
@@vatot1295 then add () at the end of client.command
@kawaranai67423 жыл бұрын
How does one purge messages by a specific user?
@kupokinzyt4 жыл бұрын
Yu can open python thru cmd faster by going into the directory where the bot.py script is, and then in the taskbar up top of the file explorer (where you can type in), just simple type CMD. That will stop you from having to CD change everytime hehe
@CodeWithSwastik4 жыл бұрын
Yup that's another way
@deianmihai80384 жыл бұрын
can u send the code from this video I want to test it mine has a probleme and can't find it
@IronInspires3 жыл бұрын
first tutorial that works thank you so much
@louzynerd1294 жыл бұрын
question, how can i make the bot respond to multiple word commands without underscores, because functions need underscores or just words stick together, i want it so that the bot can answer normal questions with spacing
@CodeWithSwastik4 жыл бұрын
You need to use sub commands for that, I'll be making a video on it soon
@louzynerd1294 жыл бұрын
Code With Swastik thx
@rudra33003 жыл бұрын
I wanted to make a bot that messages thank you whenever something is posted in the resources and notes channel as I am having a study server...... I did this @client.command() async def notes(ctx): await ctx.send("ThankYou for helping everyone....") but it didn't worked so How can I do that and it says Ignoring exception in command None: discord.ext.commands.errors.CommandNotFound: Command "notes" is not found
@parthivpedapati44854 жыл бұрын
How do you stop running that bot!??!! It is sooo irritating to open and close the cmd again and again! 💢
@Vinaykumar-uk5jg3 жыл бұрын
do control c
@maevegfx76944 жыл бұрын
Hi! I really love this series but I have problem with from discord.ext import commands - discord.ext is green underlined and it doesn't work. Could you please help me? 😀
@parthivpedapati44854 жыл бұрын
In mine too it is, but it does work, just save it.
@PandoricGalaxy3 жыл бұрын
how to stop the bot like you did in 8:25
@zmados4 жыл бұрын
I have the same code as yours but mine reads it Letter by letter and only sends a letter instead of the sentence... do you know why that happens?
@mattivboiii3 жыл бұрын
aliases doesn't work for me AT ALL
@whitelightmatei83983 жыл бұрын
It says: Traceback (most recent call last): File "C:\Users\Matei Bolata Admin\Desktop\CreatorOfPeace\main.py", line 1, in import discord ModuleNotFoundError: No module named 'discord' How can I fix this? @Code With Swastik
@SfakAlex3 жыл бұрын
open cmd and type "pip install discord"
@simplysem4 жыл бұрын
im trying to make a bot and i can't seem to get the bot to send messages periodically, similar to the mee6 timed announcements. do you know the code to make the bot just send a message to the current channel?
@CodeWithSwastik4 жыл бұрын
You will have to use background tasks which I talked about in my latest video
@msrikarm37884 жыл бұрын
is possible to use alliases twice?, if yes pls make a video
@muhammadshafeeq87793 жыл бұрын
it is
@jitendraparmar39173 жыл бұрын
How to do that without command prefix
@peanutbutter2914 жыл бұрын
Can you tell me how to call a function as a response for my bot?
@tarunthakur60912 жыл бұрын
Thanks it helped 🙂
@poojachaturvedi13614 жыл бұрын
I have a question in that rule topic, My question is this If I'm making public bot then what I have to write in that rule option?
@akcord76453 жыл бұрын
U can leave the command
@KryptexDD4 жыл бұрын
i tipe the code corect but wen i go to test it only rule on is showing. i meen wen i tipe .rule 1 is showing but wen i tipe .rule 2 is not showing why
@CodeWithSwastik4 жыл бұрын
There should be no spaces in the text file
@deianmihai80384 жыл бұрын
It doesn't print anything I use Pycharm and it doesn't work
@CodeWithSwastik4 жыл бұрын
Please don't use pycharm it's the worst for beginners
@deianmihai80384 жыл бұрын
@@CodeWithSwastik I tried ti change but then it gives an eror in command prompt
@aradhyamathur64094 жыл бұрын
Pls add your file link in description
@froyolan5124 жыл бұрын
if u close the vsc etc. will the bot go offline?
@CodeWithSwastik4 жыл бұрын
Yes it will. You should get a hosting if you want to run the bot 24/7
@rbxless4 жыл бұрын
When I try to do the command it gives me this error: Bot is ready Ignoring exception in command None: discord.ext.commands.errors.CommandNotFound: Command "rules" is not found This is my code: @client.command() async def rules(ctx): await ctx.send(rules)
@CodeWithSwastik4 жыл бұрын
Don't name the command the same name as the list.
@rbxless4 жыл бұрын
@@CodeWithSwastik Oh thank you!
@hid.op14703 жыл бұрын
Bot is offline when closing.py . Solutions ?? Pplzz
@YTMikeGames3 жыл бұрын
dont close your cmd prompt or py
@Melon214 жыл бұрын
it says parameter command_prefix unfilled..
@CodeWithSwastik4 жыл бұрын
Did you add the command_prefix?
@1800_kam4 жыл бұрын
index error: can't fit int into a index sized integer.
@CodeWithSwastik4 жыл бұрын
Whats the code?
@1800_kam4 жыл бұрын
@@CodeWithSwastik it works but it just keeps outputting that error
@xe96394 жыл бұрын
how do I do that txc file?
@CodeWithSwastik4 жыл бұрын
Make a new file and save it with the file format .txt Also make sure to not have spaces between the lines in the txt file
@xe96394 жыл бұрын
@@CodeWithSwastik thanks!
@ralphzhyrosompoc56444 жыл бұрын
is there a way to embed the rules? id like to know how
@Vinaykumar-uk5jg3 жыл бұрын
Yeah, go to discord.js.org . there, u can see how to embed
@ralphzhyrosompoc56443 жыл бұрын
No need. I figured it out the day I asked that question plus I use python and not js. Thanks for the concern though
@Vinaykumar-uk5jg3 жыл бұрын
@@ralphzhyrosompoc5644 sorry, i used to code in js so it was in my mind .
@dhruvkabra53432 жыл бұрын
bhai kha 15-25 like ki baat kr rhe ho yha apke 720 likes hogye