Class: OnyxCord::Events::ThreadCreateEvent

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

Overview

Raised when a thread is created

Direct Known Subclasses

ThreadUpdateEvent

Instance Attribute Summary collapse

Attributes inherited from Event

#bot

Instance Attribute Details

#threadChannel (readonly)

Returns the thread in question.

Returns:

  • (Channel)

    the thread in question.



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

def thread
  @thread
end