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

A presence update can sometimes kill the discord bot #108

Open
brianpeiris opened this issue Nov 3, 2020 · 0 comments
Open

A presence update can sometimes kill the discord bot #108

brianpeiris opened this issue Nov 3, 2020 · 0 comments

Comments

@brianpeiris
Copy link
Contributor

It seems a particular type of presence update can kill the discord bot, forcing it to restart:

TypeError: Cannot read property 'kind' of null
    at PresenceRollups.rename (/hab/svc/hubs-discord-bot/static/src/presence-rollups.js:84:56)
    at ReticulumChannel.<anonymous> (/hab/svc/hubs-discord-bot/static/src/presence-rollups.js:49:71)
    at ReticulumChannel.emit (events.js:209:13)
    at ReticulumChannel.EventEmitter.emit (domain.js:476:20)
    at /hab/svc/hubs-discord-bot/static/src/reticulum.js:46:16
    at /hab/svc/hubs-discord-bot/static/node_modules/phoenix/priv/static/phoenix.js:1:21521
    at /hab/svc/hubs-discord-bot/static/node_modules/phoenix/priv/static/phoenix.js:1:21942
    at Array.map (<anonymous>)
    at Function.value (/hab/svc/hubs-discord-bot/static/node_modules/phoenix/priv/static/phoenix.js:1:21919)
    at Function.value (/hab/svc/hubs-discord-bot/static/node_modules/phoenix/priv/static/phoenix.js:1:21325)
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