Class: Rubirai::FriendRecallEvent

Inherits:
RecallEvent show all
Defined in:
lib/rubirai/events/message_events.rb

Overview

Friend recall event

Instance Attribute Summary collapse

Attributes inherited from RecallEvent

#author_id, #message_id, #time

Attributes inherited from Event

#bot, #raw

Instance Method Summary collapse

Methods inherited from Event

parse, #parse_val_from_key, set_event, type_to_klass, valid_type?

Constructor Details

#initialize(hash, bot = nil) ⇒ Object

Parameters:



77
# File 'lib/rubirai/events/message_events.rb', line 77

set_event :FriendRecallEvent, :operator

Instance Attribute Details

#operatorInteger (readonly)

Returns the operator id.

Returns:

  • (Integer)

    the operator id



77
# File 'lib/rubirai/events/message_events.rb', line 77

set_event :FriendRecallEvent, :operator