From 90c86460b6fcc935cf6081da80cf521ce276f644 Mon Sep 17 00:00:00 2001 From: Conatum Date: Thu, 26 Oct 2023 09:48:40 +0300 Subject: [PATCH] fix(sysadmin): Limit module acmpl to 25. --- src/modules/sysadmin/exec_cog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/sysadmin/exec_cog.py b/src/modules/sysadmin/exec_cog.py index 13acfa4d..ff0b8cbb 100644 --- a/src/modules/sysadmin/exec_cog.py +++ b/src/modules/sysadmin/exec_cog.py @@ -431,7 +431,7 @@ class Exec(LionCog): results = [ appcmd.Choice(name=f"No extensions found matching {partial}", value="None") ] - return results + return results[:25] @commands.hybrid_command( name=_('shutdown'),