Improve autocomplete
This commit is contained in:
parent
8cea7f8224
commit
b0c25254ea
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class ChatHistory:
|
|||
instance = cog.history
|
||||
return list(
|
||||
filter(
|
||||
lambda v: ctx.value in v, map(
|
||||
lambda v: (ctx.value or v) in v, map(
|
||||
lambda d: list(d.keys()),
|
||||
instance.threads_for(ctx.interaction.user)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue