fix(exec): Limit peer acmpl.
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user