class Vote

Defined in:

groogy-bot/vote.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(target : Crirc::Protocol::Target, end_time : Time, text : String, user : User) #

[View source]

Instance Method Detail

def end(bot) #

[View source]
def end_time : Time #

[View source]
def filibuster #

[View source]
def filibuster_counter : Int32 #

[View source]
def register(usr : User, vote : Bool) #

[View source]
def text : String #

[View source]
def time_left #

[View source]
def user : User #

[View source]
def votes_against #

[View source]
def votes_for #

[View source]