@19wintersp I improved my design according to the youtube tutorial but there is a bug anyway. Could you point me out wrongly and write the corrected version?
@makxspa Maybe who formulates the question differently? And if you don't understand the code you're writing, that's very bad. I'm not going to do this for you. Copy-pasting code you don't understand is an awful way to do things.
@19wintersp You're right, it's the wrong way. I read it again and corrected it. No error occurs but after typing in discord: mute @MEMBER nothing happens. I guess I'm making a mistake in writing to discord. What is going on?
You should use
add_roles
to give the recipient a role which is muted (which you need to create, either manually or withcreate_role
).client
twice, on line 11 and 12. Try renaming line 11 tobot
and changing it accordingly on line 18.alieses
oraliases
on line 19? I don't know if that'll fix it, was just wondering.m @member
work?This file cannot be displayed:
muted_role
, is that intentional?