Class: OnyxCord::Events::ThreadMembersUpdateEvent

Inherits:
Event
  • Object
show all
Defined in:
lib/onyxcord/events/thread/members.rb

Overview

Raised when members are added or removed from a thread.

Instance Attribute Summary collapse

Attributes inherited from Event

#bot

Instance Attribute Details

#member_countInteger (readonly)

Returns:



15
16
17
# File 'lib/onyxcord/events/thread/members.rb', line 15

def member_count
  @member_count
end

#removed_member_idsArray<Integer> (readonly)

Returns:



12
13
14
# File 'lib/onyxcord/events/thread/members.rb', line 12

def removed_member_ids
  @removed_member_ids
end

#threadChannel (readonly)

Returns:



9
10
11
# File 'lib/onyxcord/events/thread/members.rb', line 9

def thread
  @thread
end