【发布时间】:2021-01-07 00:57:44
【问题描述】:
这是我的代码 rn:
import discord
from discord.ext import commands
client = commands.Bot(command_prefix="-")
@client.event
async def on_ready():
print('BOT ACTIVATED')
@client.command()
async def hello(ctx):
await ctx.send("hei this is a test just dont mind me")
@client.command()
async def join(ctx):
channel = ctx.message.author.voice.channel
await channel.connect()
client.run('mytoken')
如何使该语音频道中的所有人静音?
【问题讨论】:
标签: python discord discord.py