@commands.Cog.listener()
async def on_ready(self):
    self.match_create_channel = self.bot.get_channel(settings.MATCH_CREATE_CHANNEL)
    self.ongoing_matches_channel = self.bot.get_channel(settings.ONGOING_MATCHES_CHANNEL)
    self.match_results_channel = self.bot.get_channel(settings.MATCH_RESULTS_CHANNEL)
    (await self.match_create_channel.purge())
    button = [Button(style=ButtonStyle.green, label='Enter Queue', emoji='✅', custom_id=settings.MATCHMAKING_JOIN_QUEUE_CUSTOM_ID)]
    self.match_create_message_id = (await self.match_create_channel.send('enter queue msg', components=button))
    self.attempt_create_match.start()
@commands.Cog.listener()
async def on_ready(self):
    self.match_create_channel = self.bot.get_channel(settings.MATCH_CREATE_CHANNEL)
    self.ongoing_matches_channel = self.bot.get_channel(settings.ONGOING_MATCHES_CHANNEL)
    self.match_results_channel = self.bot.get_channel(settings.MATCH_RESULTS_CHANNEL)
    (await self.match_create_channel.purge())
    button = [Button(style=ButtonStyle.green, label='Enter Queue', emoji='✅', custom_id=settings.MATCHMAKING_JOIN_QUEUE_CUSTOM_ID)]
    self.match_create_message_id = (await self.match_create_channel.send('enter queue msg', components=button))
    self.attempt_create_match.start()