#A little perplexed
1 messages · Page 1 of 1 (latest)
can you show the error?
Are you trying to require a folder?
What file is commands.ts:1 and deploy.ts:7 referring to?
commands is an array of command arrays. It combines the index.ts array with a debug array that has two commands in it also
Deploy is referencing the same thing as commands.ts. I can share repo if that's helpful
Log commands in deploy.ts after you import
Doesn't log when ticket is in. This is the log without:
It doesn’t log whatsoever? Or logs undefined?
If I leave tickets in, it doesn't log at all. Same error as before.
Unless the callback is being executed I wouldn’t know why that line would affect anything.
So it seems the line that causes a problem is the line where I query for the channel. I'm unsure how I'm supposed to do that then.
How do you define command from utils?
And is there a src/commands.ts file?
This is utils/comman. The utils root just exports all the utils
There is a src/commands directory with an index.js in it. But that doesn't change when I comment the ticket command in and out
How do you run your deploy script?
I’m just confused why a line of code in the execution callback is affecting the meta. Line 20 shouldn’t have an impact at all afaik.
Maybe ask in #986520997006032896 . Someone else might have a better idea.