Satont
Satont
Changed my code to ```ts export const SlashCommandPermission = (permissions: PermissionResolvable[] | PermissionResolvable) => { const guard: GuardFunction = async (data, client, next, guardDatas: GuardDatas) => { console.log(data instanceof CommandInteraction);...
Btw, just copied example of Say guard, same behavior.
Sadly, but not working for me. Am i executing interactions correctly? ```ts @On('interaction') onMessage([interaction]: ArgsOf, client: Client) { info(`Interaction comed: ${interaction.type}`); client.executeInteraction(interaction); } ```
> btw interaction event has been rename to interactionCreate Yea i know, and i see deprecation warning. But it missed typings on your branch and has only 'interaction' for me....
Ok, i just checked, interaction is comed, but not executed. ``` @Discord() abstract class AppDiscord { @On('interaction') onMessage([interaction]: ArgsOf, client: Client) { info(`Interaction comed: ${interaction.type}`); client.executeInteraction(interaction); } } ``` ...
> #75 I see it has `won't fix` label. Is it still valid PR, or there is another one?
Same here. [exthost-304b75.cpuprofile.txt](https://github.com/prisma/language-tools/files/6660475/exthost-304b75.cpuprofile.txt) Version: 1.57.0 (system setup) Commit: b4c1bd0a9b03c749ea011b06c6d2676c8091a70c Date: 2021-06-09T17:18:42.354Z Electron: 12.0.9 Chrome: 89.0.4389.128 Node.js: 14.16.0 V8: 8.9.255.25-electron.0 OS: Windows_NT x64 10.0.19043 @janpio any updates on this?
Isn't my cpuprofile report not helpful? How i can help reproduce it in other ways?
I'm little bit confused, what shoult i look for?
I'm editing my typescript files. Also i has enabled prettier plugin in my VSCode. And when i `save` the file, then i get my editor be little bit stacked frozen....