Info
I'm trying to separate a list of independent variables, but my list is changing (the number of things on the list is changing). I tried
var1, var2, var3 = mylist
but it works only when my_list have 3 "items", but it won't have 3 items every time, sometimes the amount will change. I'm trying to make a discord bot that collects ids from voice channels and uses them in command "client.get_channel()" which only accepts one id. I will use it to check who is connected to my voice channels.
Goal
I want to separate a list to independent variables, even when the list sometimes has a different amount/quantity of "items".
My idea for solution
I was thinking about making a script that would count items (ex. len(my_list)) on my list and make enough variables, but I don't know how to do it.