Class: Discorb::Application::Flag

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

Overview

Represents a flag for an application.

Flag fields

Field Value
`1 << 12` `:gateway_presence`
`1 << 13` `:gateway_presence_limited`
`1 << 14` `:gateway_guild_members`
`1 << 15` `:gateway_guild_members_limited`
`1 << 16` `:verification_pending_guild_limit`
`1 << 17` `:embedded`
`1 << 18` `:gateway_message_content`
`1 << 19` `:gateway_message_content_limited`
`1 << 23` `:application_command_badge`

Instance Attribute Summary

Attributes inherited from Flag

#value, #values

Method Summary

Methods inherited from Flag

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

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