class CrystalGauntlet::Ranks::Rank

Defined in:

lib/ranks.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, position : Int64 = 0, badge : Int64 = 0, is_mod : Bool = false, text_color : Nil | Array(Int64) = nil, permissions : Hash(String, Bool) = Hash(String, Bool).new) #

[View source]

Instance Method Detail

def badge : Int64 #

[View source]
def has_permission(key : String) #

[View source]
def is_mod : Bool #

[View source]
def name : String #

[View source]
def permissions : Hash(String, Bool) #

[View source]
def position : Int64 #

[View source]
def text_color : Array(Int64) | Nil #

[View source]