When I try to deposit items with !deposit command the bot crashes and restarts without saying that those items were added to the cart
To Reproduce
Steps to reproduce the behavior:
use !deposit command
...
...
Expected behavior
Command to work
Screenshots and logs
{"message":"tf2-automatic crashed! Please create an issue with the following log:\r\npackage.version: 3.5.2; node: v13.14.0 linux x64}\r\nStack trace:\r\nTypeError: Cannot read property 'toLowerCase' of null\n at Function.plural (/tf2-automatic/node_modules/pluralize/pluralize.js:136:24)\n at Object.pluralize [as default] (/tf2-automatic/node_modules/pluralize/pluralize.js:177:46)\n at Commands.depositCommand (/tf2-automatic/dist/classes/Commands.js:503:58)\n at Commands.processMessage (/tf2-automatic/dist/classes/Commands.js:120:18)\n at MyHandler.onMessage (/tf2-automatic/dist/classes/MyHandler.js:151:23)\n at Bot.onMessage (/tf2-automatic/dist/classes/Bot.js:527:22)\n at Immediate. (/tf2-automatic/dist/classes/Bot.js:142:21)\n at processImmediate (internal/timers.js:456:21)","level":"error","timestamp":"2020-10-09T05:07:27.825Z"}
{"message":"Create an issue here: https://github.com/Nicklason/tf2-automatic/issues/new?template=bug_report.md","level":"error","timestamp":"2020-10-09T05:07:27.826Z"}
Additional context
Other commands including !withdraw command work fine.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
When I try to deposit items with !deposit command the bot crashes and restarts without saying that those items were added to the cart
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Command to work Screenshots and logs
{"message":"tf2-automatic crashed! Please create an issue with the following log:\r\npackage.version: 3.5.2; node: v13.14.0 linux x64}\r\nStack trace:\r\nTypeError: Cannot read property 'toLowerCase' of null\n at Function.plural (/tf2-automatic/node_modules/pluralize/pluralize.js:136:24)\n at Object.pluralize [as default] (/tf2-automatic/node_modules/pluralize/pluralize.js:177:46)\n at Commands.depositCommand (/tf2-automatic/dist/classes/Commands.js:503:58)\n at Commands.processMessage (/tf2-automatic/dist/classes/Commands.js:120:18)\n at MyHandler.onMessage (/tf2-automatic/dist/classes/MyHandler.js:151:23)\n at Bot.onMessage (/tf2-automatic/dist/classes/Bot.js:527:22)\n at Immediate. (/tf2-automatic/dist/classes/Bot.js:142:21)\n at processImmediate (internal/timers.js:456:21)","level":"error","timestamp":"2020-10-09T05:07:27.825Z"}
{"message":"Create an issue here: https://github.com/Nicklason/tf2-automatic/issues/new?template=bug_report.md","level":"error","timestamp":"2020-10-09T05:07:27.826Z"}
Additional context
Other commands including !withdraw command work fine.
Version: latest