Match

class Match(data=None)

Bases: object

classmethod get(ch_id: int)
classmethod init_channels(client, ch_list: list)
classmethod find_empty()
async classmethod get_from_database(m_id: int)
bind(channel)
property data
property channel
property status
property next_status
property status_str
property id
property teams
property round_no
property base
property round_stamps
property round_length
change_check(arg)
spin_up(p_list)
property command
class MatchData(match: match.classes.match.Match, data: dict)

Bases: object

on_spin_up()
get_data()
clean()
async push_db()
class MatchObjects(match: match.classes.match.Match, data: match.classes.match.MatchData, channel: int)

Bases: object

property round_no
property last_start_stamp
property status
ready_next_process(*args)
start_next_process()
on_spin_up(p_list)
match_over_loop

A background task helper that abstracts the loop and reconnection logic for you.

The main interface to create this is through loop().

property command
get_process_attr(name)
clean_critical()
async clean_all_auto()
async clean_async()
clean_channel

A background task helper that abstracts the loop and reconnection logic for you.

The main interface to create this is through loop().

property status_str
property next_status