阅读背景:

提供的频道必须是语音频道。 move_member出错

来源:互联网 
import discord
from discord.ext import commands
from discord.ext.commands import Bot
import asyncio
import time

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

@bot.event
async def on_ready():
print ("Ready")

@bot.command(pass_context=True)
async def Move(ctx):
    #channel to move to '414543063575429131'
    #user to move '192361974053470208'
    await bot.move_member('192361974053470208', '414543063575429131')
    print("done")


bot.run("token_here")
import discord
from discord.ext import commands



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: