#A little perplexed

1 messages · Page 1 of 1 (latest)

pseudo bramble
#

Any guesses?

grizzled cape
#

can you show the error?

pseudo bramble
night stag
#

Are you trying to require a folder?

#

What file is commands.ts:1 and deploy.ts:7 referring to?

pseudo bramble
#

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

night stag
pseudo bramble
#

Doesn't log when ticket is in. This is the log without:

night stag
pseudo bramble
#

If I leave tickets in, it doesn't log at all. Same error as before.

night stag
#

Unless the callback is being executed I wouldn’t know why that line would affect anything.

pseudo bramble
#

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.

night stag
#

And is there a src/commands.ts file?

pseudo bramble
#

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

night stag
#

How do you run your deploy script?

night stag
#

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.