Class: Discorb::User::Flag

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

Overview

Represents the user's flags.

Flag fields

|1 << 0|:discord_employee| |1 << 1|:partnered_server_owner| |1 << 2|:hypesquad_events| |1 << 3|:bug_hunter_level_1| |1 << 6|:house_bravery| |1 << 7|:house_brilliance| |1 << 8|:house_balance| |1 << 9|:early_supporter| |1 << 10|:team_user| |1 << 14|:bug_hunter_level_2| |1 << 16|:verified_bot| |1 << 17|:early_verified_bot_developer| |1 << 18|:discord_certified_moderator|

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