Class: Rubirai::BotEvent Abstract

Inherits:
Event
  • Object
show all
Defined in:
lib/rubirai/events/bot_events.rb

Overview

This class is abstract.

Bot event

Instance Attribute Summary collapse

Attributes inherited from Event

#bot, #raw

Method Summary

Methods inherited from Event

parse, #parse_val_from_key, set_event, type_to_klass, valid_type?

Instance Attribute Details

#qqInteger (readonly)

Returns qq id of the event's bot.

Returns:

  • (Integer)

    qq id of the event's bot



11
# File 'lib/rubirai/events/bot_events.rb', line 11

set_event nil, :qq