Class: Discorb::Message::Flag

Inherits:
Flag
  • Object
show all
Defined in:
lib/discorb/message.rb

Overview

Represents message flag.

Flag fields

Field Value
`1 << 0` `:crossposted`
`1 << 1` `:crosspost`
`1 << 2` `:supress_embeds`
`1 << 3` `:source_message_deleted`
`1 << 4` `:urgent`
`1 << 5` `:has_thread`
`1 << 6` `:ephemeral`
`1 << 7` `:loading`

Instance Attribute Summary

Attributes inherited from Flag

#value, #values

Method Summary

Methods inherited from Flag

#&, #-, #^, #initialize, #inspect, max_value, #method_missing, #respond_to_missing?, #|, #~@

Constructor Details

This class inherits a constructor from Discorb::Flag

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Discorb::Flag