def test_unmark_queue(): game_queue.add_player(0, roles_list[0], 2, 0, name="0") assert len(GameQueue(2)) == 1 queue_channel_handler.unmark_queue_channel(2) assert len(GameQueue(2)) == 0
async def unmark(self, ctx: commands.Context): """ Reverts the current channel to "normal" """ queue_channel_handler.unmark_queue_channel(ctx.channel.id) ranking_channel_handler.unmark_ranking_channel(ctx.channel.id) await ctx.send( f"The current channel has been reverted to a normal channel")