Type 'DeveloperOnly' is not assignable to type 'PreconditionEntryResolvable'.
in
src/commands/eval.ts
. With a precondition file at src/preconditions/DeveloperOnly.ts
with the content https://hst.sh/ufunolenip.typescript . index.d.ts
exists with the following content https://hst.sh/gikuhixani.typescript . Eval starts with the content https://hst.sh/sagivaqahe.typescript .
Version @sapphire/framework@pr-512
20 Replies
You aren't passing the precondition in your eval command, are you?
temporarily removed it, added it back , still happens
a more pressing issue is the bot is receving message events but sapphire is not executing the command, precondition or not, and yes i added,
loadMessageCommandListeners
and your bot has the message content intent?
i don't remember it, lemme check
yep
and yes i read the guide 3 times
Solution
may it be at fault of the PR you're using?
god i hope not
<:_:947257590319042610> #512 in sapphiredev/framework by vladfrangu opened <t:1661288348:R>
feat(deps): support for djs v14
i need v14
3 months for v14 support
hasn't been updated in a long time, and the PR itself advises against using it
what do you need specifically from v14, if you don't mind me asking?
automod, forums
aren't forums in v13? what
i haven't tried it but i remember it was added
backport pending
either way, do i put this in the PR
i think it's worth mentioning it, because i can't see anything else wrong
Done
@net-tech- I just looked at this issue again because Im working on the v14 PRs and I cannot reproduce it with the latest versions of all the relevant packages.
which you can see here: https://github.com/favna/musical-giggle/blob/feat/djs-v14/package.json#L8-L23
one moment let me check my package json
Yeah im not even close:
@Favna update, fixed the error however the bot now does not respond to slash commands nor text commands
can't really help there. The quick test I did with a bot worked just fine.
Check all your permissions and intents and such
said test is with the code in musical-giggle fyi