looks like added_members and removed_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.
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)