ralphkb / sentinel-tickets

Sentinel Tickets is a free and configurable open source discord ticket bot without watermarks or bloat.
https://sentineltickets.com
MIT License
34 stars 8 forks source link

Error Section blacklist role #56

Closed MahdiTeaR closed 4 months ago

MahdiTeaR commented 4 months ago

[Wednesday, May 15, 2024 at 7:28:49 PM UTC] [Bot v1.3.0] [NodeJS v20.11.1] [ERROR] TypeError: Cannot read properties of undefined (reading 'slice') at parseDurationToMilliseconds (/home/runner/hrp-ticket/index.js:535:25) at Object.execute (/home/runner/hrp-ticket/events/interactionCreate.js:262:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

MahdiTeaR commented 4 months ago

And Error create ticket Screenshot 2024-05-15 122135

ralphkb commented 4 months ago

Hey, please write an explanation on how you got the first issue because the error is not enough and I can't seem to replicate it by testing. For the creation of tickets issue, your bot either lacks permissions to see a category or you might have an outdated configuration where the categoryID and closedCategoryID were changed from a string to an array of strings. Checking those should fix the issue.