Discord bot property error

Hey @cori. I am seeing this error

TypeError: Cannot read property '1' of null

at CommandArgument.parse [as parser] (/app/commands/util/channel.js:38:46)

at CommandArgument.parse (/rbd/pnpm-volume/7f80ac07-cd44-4afd-ac64-ba1e523a47aa/node_modules/.registry.npmjs.org/discord.js-commando/0.9.0/node_modules/discord.js-commando/src/commands/argument.js:252:31)

at CommandArgument.obtain (/rbd/pnpm-volume/7f80ac07-cd44-4afd-ac64-ba1e523a47aa/node_modules/.registry.npmjs.org/discord.js-commando/0.9.0/node_modules/discord.js-commando/src/commands/argument.js:166:15)


at process._tickCallback (internal/process/next_tick.js:68:7)    

Can you please check what’s wrong in my project? Project name: zoddo-discord-suggestions
File: channel.js

Hey there,
Seems like a code error. Can you please provide me with the code, you were recently working on?

Hey, is it fine if you can see the project itself? I’ll PM you the edit link.

1 Like

Hey there,
Sure, but please specify what problem or issue you are facing or why you are roviding me with the editing permissions.

I’m giving you the edit link so that you can check the code error.

1 Like

@Daksh777, sure, fine by me.

I’ve dm’ed you the edit link