async def handle_match_win(self, match, custom_id):
    winner_id = None
    if custom_id:
        winner_id = custom_id.replace(settings.MATCHMAKING_ONGOING_CUSTOM_ID, '')
    if winner_id:
        msg = (await self.match_results_channel.send(content=f'User {winner_id} won match {match.id}!'))
    del self.active_matches[match.id]
    match_msg = self.bot.get_message(self.ongoing_matches_channel, match.message_id)
    (await self.bot.delete_message(match_msg))
async def handle_match_win(self, match, custom_id):
    winner_id = None
    if custom_id:
        winner_id = custom_id.replace(settings.MATCHMAKING_ONGOING_CUSTOM_ID, )
    if winner_id:
        msg = (await self.match_results_channel.send(content=f'User {winner_id} won match {match.id}!'))
    del self.active_matches[match.id]
    match_msg = self.bot.get_message(self.ongoing_matches_channel, match.message_id)
    (await self.bot.delete_message(match_msg))