struct Discord::REST::SessionStartLimit

Overview

Session start limit details included in the Get Gateway Bot REST API call.

Included Modules

Defined in:

discordcr/mappings/rest.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def remaining : Int32 #

[View source]
def remaining=(remaining : Int32) #

[View source]
def reset_after : Time::Span #

[View source]
def reset_after=(reset_after : Time::Span) #

[View source]
def total : Int32 #

[View source]
def total=(total : Int32) #

[View source]