How to move member to a different channel without member: discord.Member, channel : discord.VoiceChannel
arguments in a function if i have variables with channel id and member id in this function?
@commands.command()
async def msg(ctx):
member = 848494088563327006
channel = 430388650786947083
await member.move_to(channel)
CodePudding user response:
I think you could use get_member
, to get a member object by ID docs for get_member and get_channel
to get the channel object by ID docs for get_channel. Then do the move_to
command
I am not an expert with this but this would be an idea.