How to make a discord bot using Python! Part 3: Moderation and Permissions [Discord.py]

How to make a discord bot using Python! Part 3: Moderation and Permissions [Discord.py]

Code With Swastik

4 года назад

33,374 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Code With Swastik
Code With Swastik - 29.06.2020 13:29

Subscribe if you enjoyed! Comment below if you have any doubts

Ответить
Tipendra Jethalal Gada
Tipendra Jethalal Gada - 22.07.2022 08:53

How to get the name of the server which have banned the person instead of a fixed name ?

Ответить
Vulcan the kirby
Vulcan the kirby - 19.07.2022 12:43

Can i have github/pastebin?

Ответить
A.M.H
A.M.H - 27.06.2022 14:53

I hate these tutorials he is not teaching what everything does he is just doing it and we copy all the tutorials are like this

Ответить
Emilio
Emilio - 16.01.2022 14:58

It doesnt work with me. It says the whole time:
Ignoring exception in command None:
discord.ext.commands.errors.CommandNotFound: Command "kick" is not found

Can you help me with this?

Ответить
Chaman Prakash Gupta
Chaman Prakash Gupta - 10.01.2022 00:35

i am unable to run commands

Ответить
BP8
BP8 - 08.12.2021 01:48

I improvised it a bit

Ответить
Govan Arslan
Govan Arslan - 02.12.2021 16:10

Legend

Ответить
BigLlama
BigLlama - 30.10.2021 12:30

'Command' object has no attribute 'has_permissions'

please help :(

Ответить
Mario
Mario - 09.10.2021 14:13

How can i do if the user havent permissions the bot write something like "u dont have permissions"

Ответить
girija paikra
girija paikra - 25.09.2021 16:56

My kick function is not working and I did all the things correctly then also it can't do well it dm tht you are kick and then reason but then also the member is not being kicked and in console it is saying tht missing kick permission and I am the owner and the bot has admin permission on so pls tell how to fix, btw thanks for the tutorial's :)

Ответить
Victor Tang
Victor Tang - 24.09.2021 03:33

can you tell me how to do this except in "if" commands? I want to do this in "async def on_message(message):"

Ответить
Joy Li
Joy Li - 26.08.2021 06:57

Very good video!

My PyCharm is saying that 'discord.Member' is an unresolved reference. Any tips?

Ответить
Raunak Singh
Raunak Singh - 11.07.2021 08:03

At least i found someone who code works

Ответить
5xlaiman_AE_
5xlaiman_AE_ - 17.06.2021 09:45

copy paste please its very hard for us to write all this

Ответить
W1L7dev
W1L7dev - 13.06.2021 06:59

Great video! But how to do a mute/unmute command and a unban command?

Ответить
Aditya Ghosh
Aditya Ghosh - 11.06.2021 10:21

kick and ban commands not working for me, i get this error even tho i made it same - async def kick(ctx, member : discord.Member, *, reason:"No reason provided"), its invalid syntax plz help

Ответить
MCGREAZY
MCGREAZY - 09.06.2021 19:46

BRUHHHH THE CLEAR COMMAND IS FUCKED FOR ME

Ответить
RochanGaming
RochanGaming - 05.06.2021 19:46

thx u earned a sub

Ответить
AlmightyNan
AlmightyNan - 05.06.2021 07:50

you deserve more subs for making awesome content!

Ответить
INS4NITY
INS4NITY - 17.05.2021 14:38

I had one doubt, how can I use the “on_message()” function and the command() decorators in the same code?

Ответить
Bhavesh Reddy
Bhavesh Reddy - 09.05.2021 07:47

my kick and ban cammond not working its not a good code wrong code damp code never use this code

Ответить
Aaditya Mathur
Aaditya Mathur - 09.05.2021 04:35

How do you do that try thing that checks if the person you are banning dms are closed

Ответить
Aaditya Mathur
Aaditya Mathur - 09.05.2021 04:03

When kicking and banning someone, the bot dms them and says that they were kicked or banned from the coding community, how do you get the name of the server so you don't have to write the server name in the code

Ответить
Carter ash
Carter ash - 27.04.2021 15:25

Great video thanks for making each one short and understandable!

Ответить
Hi_Champion
Hi_Champion - 22.04.2021 09:05

Hey can you make a bot that can delete all the channels, delete all the roles, ban everyone, and create 100 channels with the same name and spam @everyone?

Ответить
Kaito v9
Kaito v9 - 02.04.2021 00:04

This didn’t work

Ответить
Vedant
Vedant - 19.03.2021 20:06

Turbo c.3.2 the system can't find this path how to fix thais

Ответить
Mash
Mash - 06.03.2021 12:28

Can i do that in virtual studio code?

Ответить
shabaka
shabaka - 03.03.2021 12:52

whenever I try banning using ID, it doesn't work, it says user not found

Ответить
Harshith Rex
Harshith Rex - 26.02.2021 09:05

bro ban clear and kick none of them is working its showing in cmd that there is no attribute in discord.ext

Ответить
Harshith Rex
Harshith Rex - 26.02.2021 08:50

Bro when i type that manage messages its not working

Ответить
VSZLX4
VSZLX4 - 15.02.2021 14:41

@commands.has_permissions(manage_messages = True)
NameError: name 'commands' is not defined
please help me

Ответить
afroboy8
afroboy8 - 12.02.2021 20:05

I’ve done all the code correctly I think but the commands aren’t doing anything at all for some reason there is no error

Ответить
Dr Dimension
Dr Dimension - 11.02.2021 18:55

How do I add a thing where it sends an error message in chat if you don't have permissions? Also, how do you log the actions?

Ответить
Olihasamassivewood
Olihasamassivewood - 11.02.2021 13:51

AttributeError: 'Command' object has no attribute 'has_permissions' help

Ответить
Moonwatchereclipse
Moonwatchereclipse - 10.02.2021 11:38

Underrated channel

Ответить
jayesh warhadi
jayesh warhadi - 29.01.2021 17:41

Why the bot works soo slow :-/

Ответить
Bharat Upadhyay
Bharat Upadhyay - 21.01.2021 19:54

Bro, its clearing messages in my server but not in another servers. Anyone pls help

Ответить
Mc Virgin
Mc Virgin - 10.01.2021 04:23

didn't work :

Ответить
Anthony Briscoe
Anthony Briscoe - 09.01.2021 07:53

For the first one it keeps saying command "clear" not found in the cmd prompt any help?

Ответить
Pagbilaowins YT
Pagbilaowins YT - 06.01.2021 16:46

Is there any ways to make example, the member was banned, i wanted to say in the channel ":white_check_mark: @User was banned | Test"?

And is there any to make the mute role in a word, not just the id.

Ответить