Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError in freestanding mode #112

Open
Eisenwave opened this issue Sep 20, 2024 · 0 comments
Open

TypeError in freestanding mode #112

Eisenwave opened this issue Sep 20, 2024 · 0 comments

Comments

@Eisenwave
Copy link
Contributor

🛑 [09.20.24 12:04:34] [error] TypeError: Cannot read properties of undefined (reading 'id')
    at PermissionManager.setup_permissions_map (file:///F:/projects/wheatley/build/src/components/permissions-manager.js:38:40)
    at PermissionManager.on_ready (file:///F:/projects/wheatley/build/src/components/permissions-manager.js:271:14)
    at PermissionManager.on_wheatley_ready (file:///F:/projects/wheatley/build/src/bot-component.js:38:14)
    at file:///F:/projects/wheatley/build/src/bot-component.js:18:27
    at file:///F:/projects/wheatley/build/src/bot-component.js:23:15
    at TypedEventEmitter.emit (file:///F:/projects/wheatley/build/src/utils/event-emitter.js:19:17)
    at file:///F:/projects/wheatley/build/src/wheatley.js:284:32
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Trace
    at M.error (file:///F:/projects/wheatley/build/src/utils/debugging-and-logging.js:37:17)
    at Wheatley.critical_error (file:///F:/projects/wheatley/build/src/wheatley.js:449:11)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

I haven't looked into what causes this, but intuitively, this error should not be raised when running the bot in freestanding mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant