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|:staff| |1 << 1|:partner| |1 << 2|:hypesquad| |1 << 3|:bug_hunter_level_1| |1 << 6|:hypesquad_online_house_1| |1 << 7|:hypesquad_online_house_2| |1 << 8|:hypesquad_online_house_3| |1 << 9|:premium_early_supporter| |1 << 10|:team_psuedo_user| |1 << 14|:bug_hunter_level_2| |1 << 16|:verified_bot| |1 << 17|:verified_developer| |1 << 18|:certified_moderator| |1 << 19|:bot_http_interactions|

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