Trying to mute an entire voice channel with Discord.py

I'm pretty new to python and searched all over https://discordpy.readthedocs.io/en/latest/ and didn't find any option like that. can someone write out a code for me? that's what I've done:

import discord
from discord.ext import commands

bot = commands.Bot(command_prefix = '.')

@bot.event
async def on_ready():
    print('The bot is ready!')

bot.run('TOKEN')


Read more here: https://stackoverflow.com/questions/64403675/trying-to-mute-an-entire-voice-channel-with-discord-py

Content Attribution

This content was originally published by Aviv Edri at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: