Module utils Copy item path Source ChampionInfo clean_alt_text 🔒 ⚙️ Function : Cleans the alt text for an item or rune and applies special formatting. create_embed_loop ⚙️ Function : Creates a detailed embed for a player’s match performance in Discord. delete_follower 🔒 ⚙️ Function : Deletes a followed summoner from the database. extract_core_build 🔒 ⚙️ Function : Extracts the core build items from an HTML iconsRow div. extract_info_from_json_arr Extrait le tableau JSON associé à key (ex: “rankings”) même s’il est imbriqué/multiligne,
puis retourne une liste de ChampionInfo.
Si un champion apparaît plusieurs fois, on fusionne ses rôles (sans doublons). extract_participant_stats 🔒 ⚙️ Function : Extracts key participant statistics from a match for a given player. extract_runes 🔒 ⚙️ Function : Extracts rune data from two HTML tables. fetch_core_build ⚙️ Function : Fetches core build data for a specific champion from League of Graphs. fetch_runes ⚙️ Function : Fetches rune data for a specific champion from League of Graphs. format_gold_k 🔒 ⚙️ Function : Formats the amount of gold earned in a match into a more readable “k” notation when appropriate. get_followed_summoners ⚙️ Function : Retrieves all followed summoners from the database. get_latest_match_id 🔒 ⚙️ Function : Fetches the latest match ID for a given summoner using their PUUID. get_match_details ⚙️ Function : Extracts relevant match details for a given summoner from the match information. is_follow_time_expired 🔒 ⚙️ Function : Determines if the follow time for a summoner has expired. process_followed_summoner ⚙️ Function : Processes a followed summoner by checking if their follow time has expired or if they have played a new match. send_match_update_to_discord 🔒 ⚙️ Function : Sends a match update to a specific Discord channel for a followed summoner. update_follower_if_new_match 🔒 ⚙️ Function : Updates a followed summoner’s last match ID and sends a Discord update if a new match is detected.