#TypeError piace.aliases is not iterable

1 messages · Page 1 of 1 (latest)

solemn meadowBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

quaint spire
#

Please use codeblocks:
```js
const Discord = require("discord.js");
// further code
```
becomes

const Discord = require("discord.js"); 
// further code

Inline Code:
`console.log('inline!');` becomes console.log('inline!');


#

At any rate, this is a complete jumble of code.

the error occurs when you try to construct a class in a folder that that class does not belong

you extend class but then you specify InteractionHandlerType which doesn't exist on classes, suggesting you actually want to write an interaction handler.

Read our user guide https://www.sapphirejs.dev

#

also you have a typo here. You should really sanity read your own code a bit better.

winter kettle
#

what am I even looking at

#

im pretty sure that’s not how you extend command