#autocomplete error

17 messages · Page 1 of 1 (latest)

candid girder
#

why was my post deleted?

hexed crag
#

✏️ Updated the rule to allow 5 attachments

candid girder
#

ah ok thank you and sorry

#

the og message

#

console error
TypeError: command.autocomplete is not a function
at Object.execute (C:\Users\camck\Desktop\fusionTerror\src\events\client\interactionCreate.js:74:23)

2 commands (1 reads from .js file, the other was tutorial command works fine) , interactionCreate, and the file the ability command is suppose to read, then display.

Im at a loss as to why im getting that error as like i mentioned the other command works fine. the only difference is that im trying to get information from a file instead. ( the actually ability list contains over 233 different choices). i just up a small one for test purposes and explanation purposes.

So if you could tell me what i am doing wrong and point me in the right direction that would be great and highly appreciated. ❤️

hexed crag
#

!!help.code

lofty prairieBOT
#
Give me your code! It will be easier for the both of us, and will make debugging way easier.
💠💠💠
candid girder
hexed crag
hexed crag
candid girder
#

my apologies, just reclick link or refresh your browser i updated it

hexed crag
#

It seems like you might have to command.execute the command you are getting rather than trying to call autocomplete as a function

#

I think the autocomplete part is being referenced on line 66