Implemented support in build_option_list for multiple selects
This commit is contained in:
3
main.py
3
main.py
@@ -182,7 +182,6 @@ async def edit_yes_message():
|
||||
Yes_select_inst.children[0].options = build_option_list()
|
||||
Yes_select_inst.children[0].max_values = get_count_recruits()
|
||||
await message.edit(embed=create_yes_embed(), view=Yes_select_inst)
|
||||
print("Edited!")
|
||||
|
||||
|
||||
def insert_no_vote(recruit_id, voter_id, reason):
|
||||
@@ -323,8 +322,6 @@ async def edit_no_message():
|
||||
global no_select_inst
|
||||
no_select_inst.children[0].options = build_option_list()
|
||||
await message.edit(embed=create_no_embed(), view=no_select_inst)
|
||||
print("Edited!")
|
||||
|
||||
|
||||
class delete_and_view_votes_message(discord.ui.View):
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user