-
Notifications
You must be signed in to change notification settings - Fork 98
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
NoMethodError when removed_member_ids is nil #186
Comments
Ah i see i had the flow backwards - thanks for taking a look. |
Dakurei
added a commit
to Dakurei/discordrb
that referenced
this issue
Apr 25, 2023
Resolves issues with Threads Events that have been reported on the Discord By the way, solves issue shardlab#186, and closes pull request shardlab#187
Merged
swarley
pushed a commit
that referenced
this issue
Apr 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
seeing this error result in closed connections
looks like
added_members
andremoved_member_ids
falls back to empty array here in thread.rb, but this code in bot.rb is still accessing the data hash directly which can result in these being nil and causing the error.The closed connection happens a few minutes later - I was assuming it was related, but it may not be.
Environment
ubuntu 20.0.4
Ruby version:
3.1.2
Discordrb version:
specs:
discordrb (3.4.2)
discordrb-webhooks (~> 3.4.2)
ffi (>= 1.9.24)
opus-ruby
rest-client (>= 2.0.0)
websocket-client-simple (>= 0.3.0)
discordrb-webhooks (3.4.2)
rest-client (>= 2.0.0)
The text was updated successfully, but these errors were encountered: