Method: Discordrb::Message#type

Defined in:
lib/discordrb/data/message.rb

#typeInteger (readonly)

Returns what the type of the message is.

Returns:

  • (Integer)

    what the type of the message is



65
66
67
# File 'lib/discordrb/data/message.rb', line 65

def type
  @type
end