import sqlite3


def get_summoners(guild):
    """Get all summoners being tracked by a guild

    Args:
        guild (int): ID of guild

    Returns:
        tuple: All summoners being tracked by specified guild
    """
    
    conn = sqlite3.connect('jit.db')
    c = conn.cursor()
    
    c.execute('''
            SELECT * FROM summoner WHERE guild = ?
            ''', (guild,))
    
    summoners = c.fetchall()
    return summoners