Skip to content Skip to sidebar Skip to footer

Discord.py - Server Mute User

I'm using discord.py but not using command and I have no intention in changing. To explain the goal of the bot I will use a small scheme: server member sends a message like this:

Solution 1:

Use Member.edit passing mute=True.

await user_obj.edit(mute=True)

You should also be using await asyncio.sleep to sleep, to avoid blocking the event loop

Post a Comment for "Discord.py - Server Mute User"