Make `+together` command display list of available names dynamically
Closed this issue · 0 comments
Jorgen1040 commented
Using the new DiscordTogether.default_choices
in 1.1.2 (see #52) to display the full list not hardcoded. See attached portion of code for what needs to be changed:
Lines 235 to 243 in 7542a56
Try this instead:
app_list = ""
for app in DiscordTogether.default_choices:
app_list += f"`{app}`, "
await ctx.send(
"Please specify what application you want to use.\n"
"Available applications:\n"
app_list
)