#Autocomplete 25 entries limit bypass

17 messages · Page 1 of 1 (latest)

loud sail
#

How can I bypass the 25 entries limit? I have an array of about 8000 entries sad

  'arabacal',          'westcoast',         'SNIFES',
  'jomal',             '....',              'sharkmaster',
  '- Just Try Me o.O', 'JORGED',            'pfialho1',
  'speed7',            'Vilarelhos',        'Kroll',
  'vaskinadore',       'jbaiao',            'pmrf',
  'JOSE GREGORIO',     'joao rangel',       'adelinomartins',
  'VelhoVelho',        'fernandes74',       'Cullen Bohannon',
  'crackbreak',        'Rui Peres',         'Lucifer125',
  'dragonball007',     'zepirikito',        'fabado',
  'reisdavid1',        'and282',            'bcchina',
  'CarryDaGuarda',     'Costini',           'Pipo Manobra',
  'costa67',           'canario28',         'KART46',
  'ALLGAR I',          'fafito',            'Nita23',
  'bull13',            'xavs',              'Sensei16',
  'Dead Pirate',       'roger chelas',      'montemurensse',
  'blackkamikase',     'RodrigoBeck',       'carp6969',
  'RODRYGORS',         'Jack o Estripador', 'Adesir Braun',
  'hiphoptuga',        'agedeão',           'elekid',
  'krilinm',           'levezinho',         'Exkimo',
  'Luis Dinis',        'dias carlos',       'jaymor',
  'JAguiar',           'Lhitow',            'MrErbalist',
  'panicoo',           'PLDelta',           'castelo branco',
  'Brother Minifix',   'odmilso',           'mjbel',
  'SirGuedes',         'sonatas',           'Pintarolas100',
  'dragon78',          'kinng',             'VMOM',
  'Vandrakens',        'Bullet',            'carolina*',
  'valente rui',       'Paulo sobral',      'FUTAIVLOG',
  'esteves94',         'tiranio',           'timor',
  'passarao123',       'hipol',             'marot',
  'Tonho Bruto',       'Selma Nunes',       'james 007',
  'saizo',             'Superb Lich',       'lotario',
  'SPNA',              'claudinho marques', 'King Tour',
  'saraaf',            'MasterFilipe',      'Tiagoacp',
  'Aniquilador total',
  ... 7580 more items
]
silent creekBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

bold pine
#

the autocomplete is autocomplete so that you can... autocomplete rest of the option as you type it in

loud sail
#

I know the goal, but 25 entries is not a lot

spring token
#

That's the limit, can't do much

bold pine
#

sure, but you can do a lot of things to do it

loud sail
#

I even thought about creating arrays within arrays

bold pine
#

you are not limited to startsWith()

#

you can put literally any 25 entries you want

loud sail
#

The goal is for a player to choose his nickname from the game

#

Without having to type it all in

bold pine
#

look, my autocomplete even has help list

loud sail
#

People are lazy

#

Ohhh

bold pine
#

autocomplete interaction gives you text someoen typed

loud sail
#

I see creating a cascade of filters