fix(exec): Limit peer acmpl.

This commit is contained in:
2023-10-06 10:14:23 +03:00
parent c4a9f9abf3
commit f51bcdd6e2

View File

@@ -329,7 +329,7 @@ class Exec(LionCog):
results = [ results = [
appcmd.Choice(name=f"No peers found matching {partial}", value=partial) appcmd.Choice(name=f"No peers found matching {partial}", value=partial)
] ]
return results return results[:25]
async_cmd.autocomplete('target')(_peer_acmpl) async_cmd.autocomplete('target')(_peer_acmpl)